python crash on windows but not on linux

D

Dave Angel

hjebbers said:
hey, that would be great!! on my 1,5G mahcine ;-)




I will check this.....any advice on how to check this?

henk-jan
As I posted in recent thread on Tutor,

But the one you might want is a boot.ini option that tells the OS to
only reserve 1gb for itself, and leave 3gb for user space. But there
are tradeoffs, including the need to modify an application's executable
to take advantage of it. And the whole system may run substantially
slower, even when your're extended app isn't running. See links:
http://www.microsoft.com/whdc/system/platform/server/PAE/PAEmem.mspx

http://blogs.technet.com/askperf/archive/2007/03/23/memory-management-demystifying-3gb.aspx

DaveA
 
R

Roel Schroeven

Op 2010-02-13 13:14, Alf P. Steinbach schreef:
* hjebbers:

Probably you meant to write "M", not "k" or "K"?

I've never managed to make much sense of the displays in Windows' Task Manager,
if that's what you're using, but I think the mem usage it's displaying by
default is the process' working set, or something very similar to that measure.

You can display additional columns in Task Manager, and one useful one is how
much virtual memory is allocated,.

And perhaps then (if that's not what you're looking it already) it'll be closer
to 2 GiB?

Note that the memory measurements in Task Manager are pretty limited
and. Comparing Task Manager and Process Explorer:

Task Manager - Process Explorer
Mem Usage - Working Set
VM Size - Private Bytes
n/a - Virtual Size

I tend to trust Process Explorer a lot more than Task Manager. Note that
what Task Manager calls VM Size is not the size of the virtual memory as
might be expected (if Process Explorer is to be trusted), and that Task
Manager doesn't show the virtual memory size (at least on Windows XP).

--
The saddest aspect of life right now is that science gathers knowledge
faster than society gathers wisdom.
-- Isaac Asimov

Roel Schroeven
 
H

hjebbers

As I posted in recent thread on Tutor,

But the one you might want is a boot.ini option that tells the OS to
only reserve 1gb for itself, and leave 3gb for user space.  But there
are tradeoffs, including the need to modify an application's executable
to take advantage of it.  And the whole system may run substantially
slower, even when your're extended app isn't running.  See links:
 http://www.microsoft.com/whdc/system/platform/server/PAE/PAEmem.mspx

http://blogs.technet.com/askperf/archive/2007/03/23/memory-management...

DaveA

Yes, you are right, i also would need to modify the executable.

the reason why I posted on this list was the hard crash of python -
which python really should not do I think. AFAICS there is no 'bug' in
my edi translator (runs OK on linux) - but it uses far to much
memory.....
For me, I am going to bring back the memory footprint of my edi
translator. Which should be fairly easy to do.

kind regards,
henk-jan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top