python crash on windows but not on linux
hjebbers
hjebbers at gmail.com
Sat Feb 13 07:34:46 EST 2010
On Feb 13, 10:25 am, Dennis Lee Bieber <wlfr... at ix.netcom.com> wrote:
> On Fri, 12 Feb 2010 09:21:07 -0800 (PST), hjebbers <hjebb... at gmail.com>
> declaimed the following in gmane.comp.python.general:
>
> > What strikes me is:
> > 1. the crash on windows, but linux works OK (same test sets)
> > 2. the linux box has 750Mb RAM, the windows box has 1.5Gb (twice as
> > much).
>
> Which on its own does not mean much.
>
> Windows in a normal installation only grants 2GB address space to
> user code, reserving the other 2GB space for the OS shared libraries. If
> your program attempts to allocate over that, it will fail. That the
> Windows box has twice the physical memory only means it doesn't resort
> to page swapping as soon.
>
> There is a boot parameter switch that toggles Windows into a 3GB
> user/1GB OS mode -- it is mainly meant for server machines where there
> won't be many disjoint OS libraries loaded, but the server applications
> need lots of data space.
>
> What split does the Linux OS use? If it give 3GB to user space,
> while you'd start to page swap much soon, you'd also have 50% more
> virtual memory that can be allocated than under Windows.
> --
> Wulfraed Dennis Lee Bieber KD6MOG
> wlfr... at ix.netcom.com HTTP://wlfraed.home.netcom.com/
Hi Wulfraed,
I tried this (the 3GB switch).
But python still crashes.
kind regards,
henk-jan
More information about the Python-list
mailing list