R
redefined.horizons
I am working on a program that creates hundreds, if not thousands, of
objects in memory. This often causes the program to run out of memory
and shut down.
I am looking for a solution to this. I am curious how much memory is
required from objects that belong to a class that has only method
definitions, and no member variables or other objects included in its
definition.
I want to know if I can solve my memory problem by creating an object
that accesses its "data" or member variables off of the hard disk
instead of from RAM. I know this will impose a serious speed or
performance penatly. However, if this will work I can take some steps
to get around the speed problem.
Will I reduce RAM usage by creating hundreds or thousands of objects
from a class that only contains method definitions?
Thanks for the help.
Scott Huey
objects in memory. This often causes the program to run out of memory
and shut down.
I am looking for a solution to this. I am curious how much memory is
required from objects that belong to a class that has only method
definitions, and no member variables or other objects included in its
definition.
I want to know if I can solve my memory problem by creating an object
that accesses its "data" or member variables off of the hard disk
instead of from RAM. I know this will impose a serious speed or
performance penatly. However, if this will work I can take some steps
to get around the speed problem.
Will I reduce RAM usage by creating hundreds or thousands of objects
from a class that only contains method definitions?
Thanks for the help.
Scott Huey