Netiquette · Download · News · Gallery · G-quadruplexes · DSSR-Jmol · DSSR-PyMOL
· Video Overview · DSSR v2.5.1 (DSSR Manual) · Homepage
-
I took out the printf()s from GLH_build() and hard coded the user-response values that I want, so that I do not have to enter them in every time I run the function. When I call GLH_build() in a loop, my memory usage increases with each iteration. I assume this behavior is not wanted. There seems to be a memory leak somewhere. I tried looking through the code to make sure the mallocs are all freed, but I have not found any red flags. Any idea why/where this is happening?
Thanks!
-
Thanks for reporting the problems you experienced. Could you please be more specific, and better yet, providing me a reproducible example? I will certainly look into it to get it fixed ASAP.
Xiang-Jun
-
Xiang-jun, I just sent you an e-mail with an example. I hope this helps. Thanks so much. I'm calling GLH_build an insane number of times, which is the only reason this matters. But, I'm getting good results! It is a great software suite.
-
I have fixed the memory leak bugs in file rebuild.c. I have also taken this opportunity to tidy up the code base a little bit. Please download the updated version and verify that the bugs are indeed gone.
Thanks,
Xiang-Jun
-
It took me awhile to incorporate the new code into my code and to perform regression testing, but it is working perfectly. No memory leak! Thanks Xiang-Jun!!
Funded by the NIH R24GM153869 grant on X3DNA-DSSR, an NIGMS National Resource for Structural Bioinformatics of Nucleic Acids
Created and maintained by Dr. Xiang-Jun Lu, Department of Biological Sciences, Columbia University