struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Lentz <>
Subject Re: Struts2 Memory Management
Date Wed, 19 Oct 2011 15:50:32 GMT
> any current framework can easily handle such a request

I agree. Maybe it would be helpful for the OP to let us in on what other 
framework is being considered by way of comparison so the OP can tap into 
the wealth of knowledge on this forum for real arguments to take back to 
the opposition. Also, is this 1000 objects a real use case or a 
red-herring that someone in a meeting threw out because they had some kind 
of bend away from Struts (OP's statement: "assume the above is a 
requirement for now")? I'd suggest focusing on real use cases if this 1000 
example isn't one.

Like Eric points out, depending on the size of the objects, 1000 isn't 
really that much anyway. How are records being read from the DB? For 
example, using Hibernate? If so, you may want to check on your 
PersistenceContext and see how many objects are being stored there (and 
GC'd and possibly dirty checked when the session closes). 
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message