Re: [Rdkit-discuss] RDKit_minimal.js running out of memory

2022-01-25 Thread Ádám Baróthi
Hi David, Thank you for the advice! That solved the problem. Best, Adam David Cosgrove ezt írta (időpont: 2022. jan. 25., K, 22:05): > Hi Adam, > You need to delete the molecule once you’re done with it. It is beyond the > reach of the JS garbage collector. Add ‘mol.delete()’ at the end of

Re: [Rdkit-discuss] RDKit_minimal.js running out of memory

2022-01-25 Thread David Cosgrove
Hi Adam, You need to delete the molecule once you’re done with it. It is beyond the reach of the JS garbage collector. Add ‘mol.delete()’ at the end of the loop to free the memory for the next round. HTH, Dave On Tue, 25 Jan 2022 at 20:46, Ádám Baróthi wrote: > Hello everyone, > > I'm

[Rdkit-discuss] RDKit_minimal.js running out of memory

2022-01-25 Thread Ádám Baróthi
Hello everyone, I'm currently experimenting with the Javascript wrapper for RDKit, thinking that I could offload image generation and descriptor calculations to the client. I have a list of 1555 SMILES right now that I'm trying to convert to mol objects with RDKit.get_mol(), but after