struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <davelnew...@gmail.com>
Subject Re: Struts2 Memory Management
Date Wed, 19 Oct 2011 13:58:31 GMT
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
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message