HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Hardware Newsgroups > Brand-name systems > Dell

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-15-2007, 03:26 PM
Ron Hardin
 
Posts: n/a
Default Vostro 1500 4gb con't

I seem to crap out in a (Cygwin) c program at getting 2gb of memory, at which point malloc()
returns 0, meaning no more available. At the same time, the task monitor shows page file history
going up to 4gb.

SO far I don't understand what's happening.

Possibilities (1) XP Home is limiting the user proc to 2gb
(2) somehow the allocated memory has to be duplicated somewhere having something to do with
the page file, and that's hitting a limit at 4gb, though I don't see why this doubling is
necessary
(3) Cygwin is putting the stack pointer in the middle of the address space, so that only 2GB is
available through malloc() and the rest is accessible only to the stack.

I may experiment more but maybe somebody knows already.

The system itself reports 3.75GB of ram.
--
rhhardin@mindspring.com

On the internet, nobody knows you're a jerk.
Reply With Quote
Sponsored Links
  #2  
Old 08-15-2007, 03:41 PM
wm_walsh@hotmail.com
 
Posts: n/a
Default Re: Vostro 1500 4gb con't

Hi!

As far as I'm aware, all 32-bit desktop versions of Windows have a 2GB
per process memory limit. It seems that this is true at least up to
Windows Server 2003 in its 32-bit editions.

I don't know about Vista or 64-bit Windows.

William

Reply With Quote
  #3  
Old 08-17-2007, 09:06 AM
paulmd@efn.org
 
Posts: n/a
Default Re: Vostro 1500 4gb con't

On Aug 15, 7:26 am, Ron Hardin <rhhar...@mindspring.com> wrote:
> I seem to crap out in a (Cygwin) c program at getting 2gb of memory, at which point malloc()
> returns 0, meaning no more available. At the same time, the task monitor shows page file history
> going up to 4gb.
>
> SO far I don't understand what's happening.
>
> Possibilities (1) XP Home is limiting the user proc to 2gb
> (2) somehow the allocated memory has to be duplicated somewhere having something to do with
> the page file, and that's hitting a limit at 4gb, though I don't see why this doubling is
> necessary
> (3) Cygwin is putting the stack pointer in the middle of the address space, so that only 2GB is
> available through malloc() and the rest is accessible only to the stack.
>
> I may experiment more but maybe somebody knows already.
>
> The system itself reports 3.75GB of ram.
> --
> rhhar...@mindspring.com
>
> On the internet, nobody knows you're a jerk.


You might want to ask on comp.lang.c, or a c programming forum about
overcoming that limit.



Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dell Vostro (1500) and Linux, experiences? Peltio Laptops 1 08-17-2007 04:29 PM
Vostro 1500 4GB Ron Hardin Dell 8 08-14-2007 06:43 PM
Vostro Rider Dell 3 08-12-2007 11:25 PM


All times are GMT. The time now is 03:49 PM.


Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger