struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <karthick.gunaseka...@wipro.com>
Subject RE: Struts2 Memory Management
Date Wed, 19 Oct 2011 14:11:32 GMT
In this case page will take more time load for low bandwidth so some
other way is there to tune the memory management in struts 2
So please go through struts 2 documentation

-----Original Message-----
From: Mario Urquilla [mailto:mario.urquilla@aviancataca.com] 
Sent: Wednesday, October 19, 2011 7:09 AM
To: Struts Users Mailing List
Subject: Re: Struts2 Memory Management



-----Original Message-----
From: Dave Newton <davelnewton@gmail.com>
Date: Wed, 19 Oct 2011 09:58:31 
To: Struts Users Mailing List<user@struts.apache.org>
Reply-To: Struts Users Mailing List <user@struts.apache.org>
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, Charles Godfrey <chaalz@gmail.com>
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
this,
> so you are only ever loading 50 (or whatever number) into memory.
>
> I know you can always throw more memory at it, or paginate long lists
of
> data so you don't have to load all at once, but the question I'm being
> asked
> is how does Struts2 perform if I do need to present a large amount of
data
> to the user?
>
> I had the same reaction you did, but is there any
memory/session/advanced
> feature, anything at all, that even relates to this?
> Until I can show this won't be an issue, Struts2 is a no go, so I'm
> reaching
> out to you all.
>
> -Charles
>
>
>
> On Wed, Oct 19, 2011 at 9:21 AM, Dave Newton <davelnewton@gmail.com>
> wrote:
>
> > 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" <chaalz@gmail.com>
wrote:
> >
> > > Hello everyone,
> > >
> > > Not sure if this is the right forum for this question.
> > >
> > > I made a presentation to my dev team to use Struts2 and the issue
of
> > "uses
> > > too much memory" came up. If I need to retrieve 1000 rows from a
> database
> > > and have a JSP present those to the user, how does one handle
having
> that
> > > many objects in memory. (Yes I know this many rows should be
paginated,
> > > etc,
> > > but assume the above is a requirement for now). Is there anything
in
> > > Struts2
> > > that addresses large amounts of data that need to be kept around
until
> > the
> > > JSP is done presenting it? Is this more an "MVC" issue instead?
> > >
> > > Thanks,
> > > -Charles
> > >
> >
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are
intended for the exclusive use of the addressee(s) and may contain proprietary, confidential
or privileged information. If you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and destroy all copies
of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email
and any attachments for the presence of viruses. The company accepts no liability for any
damage caused by any virus transmitted by this email. 

www.wipro.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message