> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Lawrence Marsh
> We have tried processing very large XML files (so far up to 50MB) using EJB.
> It doesn't handle it and the App server crashes as it runs out of memory.
> This is partly due to the actual implementation (which is being reviewed and
> updated).
<vendor>
Note that our current CMP engine allows you to specify groups of fields to be
loaded together. This way, you get optimized finders that will only load those
fields it needs (and hence, leaving aside fields you don't need for the current
query).
For your particular problem, it would probably be a good idea to specify two
groups of fields: one containing the big field alone, and another one containing
all the other fields. This way, your big BLOB will only be fetched when needed
and will not slow down your application at all for other uses.
</vendor>
--
Cedric
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".