OK. I was loading whole database of about 1.5 meg (mysql database was of this size) into memeory using Castor - the concept was to have a root class, on which children were dependent, in turn, its' children were dependent on them - about 6 stories of hierarchy. Once root class was db.loaded, it triggered consequent loading of all 6 stories of its descendants, many of which were collections.
It worked fine until I added one more descendant to hierarchy - what happened was memory use by jvm in windows nt task manager - I was watching - would grow, and grow, and grow, and never stop growing, then I would get out of memeory exception. I assigned max memory to 500 meg, same exception.
Stein M. Hugubakken wrote:
g r i t s e n k o wrote:
I use OJB proxy to leverage lazy loading. I use OJB for O/R data binding. I did use Castor JDO for that, but had memory problems and switched to OJB a month ago. Sorry.
I'm very interested in this, would you mind elaborate on your memory problem with Castor?
Stein
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
