Glassfish and Tomcat: memory requirements

  • Follow


I learn NetBeans with Glassfish and Tomcat installed. Which will work
faster with only 512 MB RAM ? 
I know that is to little but I will buy more
after I make a few steps.
0
Reply Mario 9/30/2007 9:16:22 AM

Mario wrote:
>I learn NetBeans with Glassfish and Tomcat installed. Which will work
>faster with only 512 MB RAM ? 

I am not entirely sure I understand you question, but 
then, my system has 1 *Gig.* of memory and a 1.8GHz 
Athlon AMD processor, and I find most of the major IDEs 
(e.g. NetBeans, Eclipse) to be altogether too slow for my 
requirements (or patience - it is like coding while sitting 
in glue).

Looking at the memory requirements of all three..
(just from a quick search - I have not used Glassfish)
Glassfish memory requirements: 256 Meg
Tomcat default: 64 Meg
NetBeans 4.0/5.0: 384 Meg

It seems running Glassfish and Tomcat together should 
be OK within 512 Meg memory, so long as other Windows 
processes do not consume more than 180 meg.

Tomcat and Netbeans at the same time would be pushing 
the limits of that available memory, and all three together 
would cause a *lot* of 'swap file' activity - it would be very 
slow.

Since the most 'memory hungry' part is NetBeans, I think 
you should look to replace that first.

The only development tool I have used* that might work for
you is known as TextPad** - it is not an IDE like NetBeans or 
Eclipse - it does not do even 10% of what either of those will
do, but it is fine for editing code.  The version I have is old,
but I suspect the current versions do not need much more 
memory. 

Combined with Ant (a build tool) it should do for your current
needs.  But then, if you are just starting out, you may not 
need Ant.

* ..and still currently use.

** <http://www.textpad.com/>

HTH

-- 
Andrew Thompson
http://www.athompson.info/andrew/

Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-setup/200709/1

0
Reply Andrew 9/30/2007 4:13:31 PM


"Andrew Thompson" <u32984@uwe> wrote in message news:78ff70e86e3fd@uwe...
> Mario wrote:
>>I learn NetBeans with Glassfish and Tomcat installed. Which will work
>>faster with only 512 MB RAM ?
>
> I am not entirely sure I understand you question, but
> then, my system has 1 *Gig.* of memory and a 1.8GHz
> Athlon AMD processor, and I find most of the major IDEs
> (e.g. NetBeans, Eclipse) to be altogether too slow for my
> requirements (or patience - it is like coding while sitting
> in glue).
>
> Looking at the memory requirements of all three..
> (just from a quick search - I have not used Glassfish)
> Glassfish memory requirements: 256 Meg
> Tomcat default: 64 Meg
> NetBeans 4.0/5.0: 384 Meg
>
Obviously, Tomcat is lighter.

> It seems running Glassfish and Tomcat together should
> be OK within 512 Meg memory, so long as other Windows
> processes do not consume more than 180 meg.
>
> Tomcat and Netbeans at the same time would be pushing
> the limits of that available memory, and all three together
> would cause a *lot* of 'swap file' activity - it would be very
> slow.
>
> Since the most 'memory hungry' part is NetBeans, I think
> you should look to replace that first.
>
> The only development tool I have used* that might work for
> you is known as TextPad** - it is not an IDE like NetBeans or
> Eclipse - it does not do even 10% of what either of those will
> do, but it is fine for editing code.  The version I have is old,
> but I suspect the current versions do not need much more
> memory.
>
> Combined with Ant (a build tool) it should do for your current
> needs.  But then, if you are just starting out, you may not
> need Ant.
>
When I learned creating java desktop app I create the GUI in NetBeans then I 
editing a code with JCreator, so I was thinking that the same approuch I can 
apply to learning creating web app. It is easier for me as beginner to use 
Visual web pack for creating a components and bindi it to data. 
Unfortunatelly NetBeans today is to slow except maybe for a elementary 
things, so I will must use "your way".
Now I'm on Ubuntu so textpad isn't for me, anyway thank you, I will must put 
together all things and use lighter java editor for linux. 


0
Reply Mario 10/1/2007 7:22:24 AM

"Mario" <mzupan@vup.hr> wrote in message 
news:fdq77g$45v$1@news1.carnet.hr...
>
> "Andrew Thompson" <u32984@uwe> wrote in message news:78ff70e86e3fd@uwe...
>> Mario wrote:
>>>I learn NetBeans with Glassfish and Tomcat installed. Which will work
>>>faster with only 512 MB RAM ?
>>
>> I am not entirely sure I understand you question, but
>> then, my system has 1 *Gig.* of memory and a 1.8GHz
>> Athlon AMD processor, and I find most of the major IDEs
>> (e.g. NetBeans, Eclipse) to be altogether too slow for my
>> requirements (or patience - it is like coding while sitting
>> in glue).
>>
>> Looking at the memory requirements of all three..
>> (just from a quick search - I have not used Glassfish)
>> Glassfish memory requirements: 256 Meg
>> Tomcat default: 64 Meg
>> NetBeans 4.0/5.0: 384 Meg
>>
> Obviously, Tomcat is lighter.
>
>> It seems running Glassfish and Tomcat together should
>> be OK within 512 Meg memory, so long as other Windows
>> processes do not consume more than 180 meg.
>>
>> Tomcat and Netbeans at the same time would be pushing
>> the limits of that available memory, and all three together
>> would cause a *lot* of 'swap file' activity - it would be very
>> slow.
>>
>> Since the most 'memory hungry' part is NetBeans, I think
>> you should look to replace that first.
>>
>> The only development tool I have used* that might work for
>> you is known as TextPad** - it is not an IDE like NetBeans or
>> Eclipse - it does not do even 10% of what either of those will
>> do, but it is fine for editing code.  The version I have is old,
>> but I suspect the current versions do not need much more
>> memory.
>>
>> Combined with Ant (a build tool) it should do for your current
>> needs.  But then, if you are just starting out, you may not
>> need Ant.
>>
> When I learned creating java desktop app I create the GUI in NetBeans then 
> I editing a code with JCreator, so I was thinking that the same approuch I 
> can apply to learning creating web app. It is easier for me as beginner to 
> use Visual web pack for creating a components and bindi it to data. 
> Unfortunatelly NetBeans today is to slow except maybe for a elementary 
> things, so I will must use "your way".
> Now I'm on Ubuntu so textpad isn't for me, anyway thank you, I will must 
> put together all things and use lighter java editor for linux.
>
You are welcome for recommended some sites for putting all things together 
(Tomcat, ant, j2sdk...), esspecially for linux users. 


0
Reply Mario 10/1/2007 7:24:32 AM

On Oct 1, 5:22 pm, "Mario" <mzu...@vup.hr> wrote:(lighter IDE than NetBeans for low mem. box..)> Now I'm on Ubuntu so textpad isn't for me, anyway thank you, I will must put> together all things and use lighter java editor for linux.OK, so this question seems to come down to..'What is a light footprint IDE forUbuntu Linux?'.I am taking the liberty of *cross-posting*this thread to the higher traffic groupcomp.lang.java.programmer, but setting thefollow-ups back to the original group youposted from, comp.lang.java.help.  If anyoneelse vehemently disagrees with my F-U, pleasechange it, at your discretion, but notethe OP will be expecting to see answers'here' on c.l.j.help.( Basically, though this group has a nicebunch of long term, very experiencedposters who /might/ know of an IDE foryour first development, I almost bet thereare folks on c.l.j.p. who /can/ answer thisquestion! )Andrew T.
0
Reply Andrew 10/1/2007 12:13:22 PM

4 Replies
456 Views

(page loaded in 0.075 seconds)

Similiar Articles:







7/24/2012 6:58:34 PM


Reply: