Click here to Skip to main content
15,884,099 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I am working on a code with lot of datatables, each having large number of records - 150000 plus. it was running fine till few days back and suddenly it started throwing error -
Sytem memory out of exception.

With a few links, i get to know that 32 bit OS allows max 2gb object size. I am running on a machine with 4GB physical memory.


Can somebody suggest anything to get it resolved. It's very urgent!

Thanks,
Posted

1 solution

The memory limit per process is not something you can overcome on a 32bit system (no matter if you have 4gb of ram installed).

1) Try doing your process on smaller chunks of data.

2) Move to a 64bit OS.
 
Share this answer
 
Comments
gouravkaila 11-Oct-13 5:20am    
Thanks Gholam,

I doubt as on one of my machines with same configurations, the same process runs fine.
So what could be the other cause?

And also i want to know whether 2GB limit is for a process or for a datatable. As i guess each of my datatable would be of smaller than 2GB, but yes, collectively all the datatbles(while the process is running) will be greater than 2 GB.

Any idea?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900