Hi,

I tried this code to test how much memory a process is able to allocate:

Code:
		size_t mem = 0;
		while(1)
		{
			try
			{
				new(double);
				mem += sizeof(double);
			}
			catch(std::bad_alloc&)
			{
				printf("bad_alloc\n");
				printf("mem: %u    ram (MB) %u\n",mem, mem / (1024*1024));
				_getch();
				return 0;
				
			}

			if ( !(mem % (1024*1024))) )
			{
				printf("mem: %u    ram (MB) %u\n",mem, mem / (1024*1024));

			}
		}
On a standard winXP installation I get 2GB of virtual memory.

Than I added this switch
Code:
/3GB /USERVA=2990
to my boot.ini in the hope of improvement. But I still get only 2GB.

Any ideas?

Thank you!