Category: out-of-memory

Java heap space in netbeans.. but I’ve increased the heap size already!

I’m having an issue with netbeans and Java. My program needs to be able to cope with large files being uploaded via an arraylist. So I used -Xmx512m to increase the maximum heap size via the netbeans.conf file. I know that netbeans is catching the change, and I’ve restarted multiple times to make sure it […]

How to serialize big objects in .NET? (OutOfMemory Exceptions)

I’m using serialization for “save” feature in my application. But when the data is too big (15+ MB) I’m starting to get OutOfMemory exceptions. I’ve got so many objects and they are connected with other little objects, I think this is causing too much processing power and data held in the memory. My code is […]