[ python-Bugs-1671411 ] python code fails with "MemoryError" on HP-UX 11.11 PA_RISC

SourceForge.net noreply at sourceforge.net
Thu Mar 8 10:19:39 CET 2007


Bugs item #1671411, was opened at 2007-03-01 05:27
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1671411&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Performance
Group: None
>Status: Closed
>Resolution: Wont Fix
Priority: 5
Private: No
Submitted By: shashi (shashikala)
Assigned to: Nobody/Anonymous (nobody)
Summary: python code fails with "MemoryError" on HP-UX 11.11 PA_RISC 

Initial Comment:

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



----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2007-03-08 10:19

Message:
Logged In: YES 
user_id=21627
Originator: NO

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.

----------------------------------------------------------------------

Comment By: shashi (shashikala)
Date: 2007-03-08 04:57

Message:
Logged In: YES 
user_id=1506183
Originator: YES


 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

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2007-03-01 22:34

Message:
Logged In: YES 
user_id=21627
Originator: NO

Can you also provide a gdb/dbx backtrace of where the problem occurred?

----------------------------------------------------------------------

Comment By: shashi (shashikala)
Date: 2007-03-01 12:47

Message:
Logged In: YES 
user_id=1506183
Originator: YES

File Added: Pythonmemoryerror.txt

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2007-03-01 07:38

Message:
Logged In: YES 
user_id=21627
Originator: NO

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).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1671411&group_id=5470


More information about the Python-bugs-list mailing list