Closed tarun018 closed 7 years ago
Hello,
I am using python multiprocessing.Pool as follows:
a = multiprocessing.Pool(processes=3) a.map_async(func=function_which_uses_madopt, iterable=independent_arguments, callback=something)
a = multiprocessing.Pool(processes=3)
a.map_async(func=function_which_uses_madopt, iterable=independent_arguments, callback=something)
The first call returns fine, however subsequent calls to map_async fails with the above error with a long backtrack. Seems to be an issue with freeing memory in C. https://stackoverflow.com/questions/27529857/invalid-pointer-error-when-using-free
Please let me know if you need more information.
Any help will be appreciated. Thanks in advance.
Please find attached the log: https://pastebin.com/Ffz63QuA
The issue seems to be getting resolved after using: export LD_PRELOAD="/usr/lib/libtcmalloc_minimal.so.4"
Hello,
I am using python multiprocessing.Pool as follows:
a = multiprocessing.Pool(processes=3)
a.map_async(func=function_which_uses_madopt, iterable=independent_arguments, callback=something)
The first call returns fine, however subsequent calls to map_async fails with the above error with a long backtrack. Seems to be an issue with freeing memory in C. https://stackoverflow.com/questions/27529857/invalid-pointer-error-when-using-free
Please let me know if you need more information.
Any help will be appreciated. Thanks in advance.