Hi, Python-2.5 code fails with "MemoryError". This is happening only on one system, PA-RISC running HP-UX 11.11.Failing system has 12 GB of RAM installed, non-failing system has 8 GB. 1) spark 9GB phys mem(Python is working fine) 2) stalker 12GB phys mem (that has problem with python 2.5 ) please assist me in this. Thanks in advance Shashi
This tracker is not about assistance. If at all, we need you to assist us. Can you please report more details, like stack traces, causes of the crash, patches? If not, I think there is little we can do about this report ("it crashes" is pretty unspecific).
Hi , I added "import gc" and "gc.collect()" , it worked out fine , I dint get any further MemoryError is this the correct approach , please let me know about the same. Thanks and Reagrds, shashi
If you think your problem is solved, then fine (you seem to have found a work-around). If Python raises a MemoryError, this is still a problem; it sholdn't normally do that, and it should normally invoke garbage collection itself. To analyse this further, we still would need a debug stack trace. However, I'm closing this as "won't fix" now; if you ever feel like analysing it further, and have data to help there, feel free to reopen the report.