Re: Struts2 Memory Management

2011-10-22 Thread Chris Mawata
If your requirement is to have a gallon of water in a jug, there is no way to manufacture a jug that will make that gallon into half a gallon. On 10/19/2011 9:17 AM, Charles Godfrey wrote: Hello everyone, Not sure if this is the right forum for this question. I made a presentation to my dev t

Re: Struts2 Memory Management

2011-10-19 Thread Dave Newton
On Wed, Oct 19, 2011 at 12:12 PM, Charles Godfrey wrote: > Customers who use the product can have > 100 rows or 10,000 rows in a table, and several have into the 1000's. > On the *client* side?! I can't see how that's useful. Dave

Re: Struts2 Memory Management

2011-10-19 Thread Charles Godfrey
Thanks for all the great feedback guys. Right now its a custom framework (similar to Struts) but uses straight JDBC and no JSP, ie. presentation is done in Java classes using only out.println(). It performs very well. Customers who use the product can have 100 rows or 10,000 rows in a table, and s

Re: Struts2 Memory Management

2011-10-19 Thread Eric Lentz
> 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. Al

Re: Struts2 Memory Management

2011-10-19 Thread Dave Newton
Whether or not the browser crashes depends on how the 1k objects are rendered; most browsers can handle a 1k-row table, although it may chunk a bit during the render. Older browsers will do worse. In this case, however, that doesn't seem to be an issue, since the app was already doing it--the conc

Re: Struts2 Memory Management

2011-10-19 Thread Eric Reed
Struts 2 would perform about the same as all the other frameworks available. Storing an array list of 1000 objects on your server won't consume all that much memory and any current framework can easily handle such a request. This also depends on the size of the object, and how much memory is a

Re: Struts2 Memory Management

2011-10-19 Thread Muneer Malik
t; Sent: Wednesday, October 19, 2011 7:25 AM > To: Struts Users Mailing List > Subject: Re: Struts2 Memory Management > > Am 19.10.2011 16:16, schrieb dan.zheng: >> So many objects dump directly to jsp will certainly consume a lot > memory,I >> suppose you can enlarg

RE: Struts2 Memory Management

2011-10-19 Thread karthick.gunasekaran
Can we do any application lever tuning in struts 2? -Original Message- From: Robert Graf-Waczenski [mailto:r...@lsoft.com] Sent: Wednesday, October 19, 2011 7:25 AM To: Struts Users Mailing List Subject: Re: Struts2 Memory Management Am 19.10.2011 16:16, schrieb dan.zheng: > So m

Re: Struts2 Memory Management

2011-10-19 Thread Robert Graf-Waczenski
Am 19.10.2011 16:16, schrieb dan.zheng: So many objects dump directly to jsp will certainly consume a lot memory,I suppose you can enlarge your Web Server's jvm memory size to afford your requirement such as "-Xms 1024m -Xmx 1024m",more details can come from google "jvm tuning" What do you mean

Re: Struts2 Memory Management

2011-10-19 Thread dan.zheng
10:08 PM, Mario Urquilla < mario.urqui...@aviancataca.com> wrote: > > > -Original Message- > From: Dave Newton > Date: Wed, 19 Oct 2011 09:58:31 > To: Struts Users Mailing List > Reply-To: Struts Users Mailing List > Subject: Re: Struts2 Memory Management > >

RE: Struts2 Memory Management

2011-10-19 Thread karthick.gunasekaran
:09 AM To: Struts Users Mailing List Subject: Re: Struts2 Memory Management -Original Message- From: Dave Newton Date: Wed, 19 Oct 2011 09:58:31 To: Struts Users Mailing List Reply-To: Struts Users Mailing List Subject: Re: Struts2 Memory Management You'll find *everything* is a

Re: Struts2 Memory Management

2011-10-19 Thread Mario Urquilla
-Original Message- From: Dave Newton Date: Wed, 19 Oct 2011 09:58:31 To: Struts Users Mailing List Reply-To: Struts Users Mailing List Subject: Re: Struts2 Memory Management You'll find *everything* is a no-go if that's their concern. On Wed, Oct 19, 2011 at 9:49 AM, Charl

Re: Struts2 Memory Management

2011-10-19 Thread Robert Graf-Waczenski
Am 19.10.2011 15:49, schrieb Charles Godfrey: Sorry, let me clarify. I meant loading all those objects into the action class vs. lets say loading 50 at a time and doing out.println() in your servlet, then repeating this, so you are only ever loading 50 (or whatever number) into memory. Nothing

Re: Struts2 Memory Management

2011-10-19 Thread Dave Newton
You'll find *everything* is a no-go if that's their concern. On Wed, Oct 19, 2011 at 9:49 AM, Charles Godfrey wrote: > Sorry, let me clarify. > > I meant loading all those objects into the action class vs. lets say > loading > 50 at a time and doing out.println() in your servlet, then repeating

Re: Struts2 Memory Management

2011-10-19 Thread Charles Godfrey
Sorry, let me clarify. I meant loading all those objects into the action class vs. lets say loading 50 at a time and doing out.println() in your servlet, then repeating this, so you are only ever loading 50 (or whatever number) into memory. I know you can always throw more memory at it, or pagina

Re: Struts2 Memory Management

2011-10-19 Thread Dave Newton
I don't understand; what does this have to do with Struts 2 *or* MVC? You load a thousand objects into memory, you load a thousand objects into memory--that's pretty much framework, design pattern, and language-neutral. Dave On Oct 19, 2011 9:18 AM, "Charles Godfrey" wrote: > Hello everyone, >