A computer components & hardware forum. HardwareBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » HardwareBanter forum » System Manufacturers & Vendors » Dell Computers
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Vostro 1500 4gb con't



 
 
Thread Tools Display Modes
  #1  
Old August 15th 07, 03:26 PM posted to alt.sys.pc-clone.dell
Ron Hardin
external usenet poster
 
Posts: 996
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.
--


On the internet, nobody knows you're a jerk.
  #2  
Old August 15th 07, 03:41 PM posted to alt.sys.pc-clone.dell
[email protected]
external usenet poster
 
Posts: 409
Default 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

  #3  
Old August 17th 07, 09:06 AM posted to alt.sys.pc-clone.dell
[email protected]
external usenet poster
 
Posts: 1,418
Default Vostro 1500 4gb con't

On Aug 15, 7:26 am, Ron Hardin 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.
--


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.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vostro 1500 4GB Ron Hardin Dell Computers 8 August 14th 07 06:43 PM
Vostro Rider Dell Computers 3 August 12th 07 11:25 PM
What abt Vostro? [email protected] Dell Computers 11 August 9th 07 04:05 PM
Dell Vostro William R. Walsh Dell Computers 18 July 12th 07 09:18 PM
Dell Vostro William R. Walsh Dell Computers 5 July 11th 07 02:01 PM


All times are GMT +1. The time now is 05:52 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 HardwareBanter.
The comments are property of their posters.