[Stripes-users] What notebook would you recommend for working with Stripes and whole JavaEE stack?

2011-01-07 Thread gshegosh
Maybe it's not directly Stripes-related, but I find Netbeans and 
Glassfish quite memory and CPU resource hogs, more and more with each 
new version.

My desktop development machine is quite powerful with overclocked Intel 
i7-920 and 12GB of RAM, but I found myself in the need of buying a 
notebook for part of my development.

With my current old old laptop all I can do is use remote desktop to 
access my desktop, but it's not a convenient solution.

Can You recommend a machine that would not cost me an arm and a leg but 
won't slow me down to a crawl? I guess some of You folks work on i5 or 
i7-based laptops, is performance enough on these when using Netbeans 
with JavaEE servers? What models do you own and (dis)recommend?

--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] What notebook would you recommend for working with Stripes and whole JavaEE stack?

2011-01-07 Thread Richard Hauswald
I'm happy with a Thinkpad t410, 4GB RAM, Intel Core i7 M620 and a OCZ
Vertex 2 SSD.

If you want to have fun, use a fast SSD for OS and your workspace -
Backup on a daily basis(!). I promise you: If you ever developed
webapps on a SSD you will never develop using a HDD again. If you have
to switch back... ...it will be hard!

Any Dual Core CPU should suite your needs, I never ever ran out CPU
power when developing software. Memory is something you can't get
enough of. 4GB is ok but I'd like to have 6GB, cause Firefox, Eclipse,
Tomcat, Windows 7, Windowx XP Mode and a Linux VM running in parallel
is not so uncommon for a developer. But nearly to much for 4GB RAM.

-- 
Richard Hauswald
Blog: http://tnfstacc.blogspot.com/
LinkedIn: http://www.linkedin.com/in/richardhauswald
Xing: http://www.xing.com/profile/Richard_Hauswald

On Fri, Jan 7, 2011 at 5:38 PM, gshegosh g...@karko.net wrote:
 Maybe it's not directly Stripes-related, but I find Netbeans and
 Glassfish quite memory and CPU resource hogs, more and more with each
 new version.

 My desktop development machine is quite powerful with overclocked Intel
 i7-920 and 12GB of RAM, but I found myself in the need of buying a
 notebook for part of my development.

 With my current old old laptop all I can do is use remote desktop to
 access my desktop, but it's not a convenient solution.

 Can You recommend a machine that would not cost me an arm and a leg but
 won't slow me down to a crawl? I guess some of You folks work on i5 or
 i7-based laptops, is performance enough on these when using Netbeans
 with JavaEE servers? What models do you own and (dis)recommend?

 --
 Gaining the trust of online customers is vital for the success of any company
 that requires sensitive data to be transmitted over the Web.   Learn how to
 best implement a security strategy that keeps consumers' information secure
 and instills the confidence they need to proceed with transactions.
 http://p.sf.net/sfu/oracle-sfdevnl
 ___
 Stripes-users mailing list
 Stripes-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/stripes-users


--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] What notebook would you recommend for working with Stripes and whole JavaEE stack?

2011-01-07 Thread gshegosh
W dniu 07.01.2011 18:11, Richard Hauswald pisze:
 Backup on a daily basis(!). I promise you: If you ever developed
 webapps on a SSD you will never develop using a HDD again. If you have
 to switch back... ...it will be hard!

Yep, I'm using RAID 0 for my system partition and I'm not complaining, 
too. Substantially cheaper than getting top of the line SSD (tried some 
cheaper ones and they were worse than HDDs) and performance is on par.

 Any Dual Core CPU should suite your needs, I never ever ran out CPU
 power when developing software. Memory is something you can't get
 enough of. 4GB is ok but I'd like to have 6GB, cause Firefox, Eclipse,
 Tomcat, Windows 7, Windowx XP Mode and a Linux VM running in parallel
 is not so uncommon for a developer. But nearly to much for 4GB RAM.

Damn, perhaps I should be asking about _software_ stack, not hardware 
one. Eclipse and Tomcat seem to be better for a PC than Netbeans and 
Glassfish are.

As I'm writing these words, Netbeans and Glassfish running for some 3 or 
4 hours take 2,5GB of my memory and it grows with each redeploy, max 
I've seen was almost 8GB. killall -9 java became a kind of routine for 
me since NB+GF will become unstable well before the take up those 12GBs 
I have.

I guess memory is not a problem these days, since it's cheap and easy to 
get 8GB or more even in a laptop.

Perhaps one can't run out of CPU, but when I compare compilation time 
of the same project on my machine which is 4-5s to my friend's Mac where 
it's about 20-30s, I believe my productivity _can_ hurt because of a 
slow CPU. Especially on my old laptop which compiles the same project in 
3 minutes. And compilation is not all, frequent redeployments, switching 
between IDE and browser and Photoshop and Virtualbox, using Firebug, all 
this is much more acceptable on a fast, multi-core CPU.

That's why I'm asking about i5 and i7 laptops -- I can read benchmarks 
all day, but I'd love to hear what development on these machines feels 
like, especially from folks who use Netbeans and Glassfish combo.

The only other option is to find a shop that will let me play with a 
laptop for an hour before I buy it :-D

--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] What notebook would you recommend for working with Stripes and whole JavaEE stack?

2011-01-07 Thread Richard Hauswald
...
 Yep, I'm using RAID 0 for my system partition and I'm not complaining,
 too. Substantially cheaper than getting top of the line SSD (tried some
 cheaper ones and they were worse than HDDs) and performance is on par.
Just work one week on a SSD. The access times and parallel reads and
writes speed of a good SSD are just amazing - even compared to RAID0.
This comes into play when multitasking is performed.

...
 Damn, perhaps I should be asking about _software_ stack, not hardware
 one. Eclipse and Tomcat seem to be better for a PC than Netbeans and
 Glassfish are.
Not at all. It really depends. Tomcat is no full stack JEE container
like Glassfish. Netbeans, Eclipse or IntelliJ is out of scope. What I
can tell for sure is that IntelliJ has the best web support. I think
Netbeans had some problems running maven projects on tomcat and where
eclipse wtp is much better. But the editor support in Netbeans is
better than the support in eclipse.


 As I'm writing these words, Netbeans and Glassfish running for some 3 or
 4 hours take 2,5GB of my memory and it grows with each redeploy, max
 I've seen was almost 8GB. killall -9 java became a kind of routine for
 me since NB+GF will become unstable well before the take up those 12GBs
 I have.
There must be something wrong Netbeans runs in a JVM wich is
started with a predefined amount max memory. If this memory is eaten
up it'll serve you with a fresh hep space exception. IMHO this is also
the case for Glassfish. I know for sure that this is the case for
Tomcat and Jetty. Look for JVM parameters Xmx/Xms and I believe
XX:MaxPermSize or something similar.

 I guess memory is not a problem these days, since it's cheap and easy to
 get 8GB or more even in a laptop.
Yep!

 Perhaps one can't run out of CPU, but when I compare compilation time
 of the same project on my machine which is 4-5s to my friend's Mac where
 it's about 20-30s, I believe my productivity _can_ hurt because of a
 slow CPU. Especially on my old laptop which compiles the same project in
 3 minutes. And compilation is not all, frequent redeployments, switching
 between IDE and browser and Photoshop and Virtualbox, using Firebug, all
 this is much more acceptable on a fast, multi-core CPU.

 That's why I'm asking about i5 and i7 laptops -- I can read benchmarks
 all day, but I'd love to hear what development on these machines feels
 like, especially from folks who use Netbeans and Glassfish combo.
You wont note a difference betwenn i5 and i7 when developing webapps.
If you do care about build time differences of a half second then use
a i7.

 The only other option is to find a shop that will let me play with a
 laptop for an hour before I buy it :-D

 --
 Gaining the trust of online customers is vital for the success of any company
 that requires sensitive data to be transmitted over the Web.   Learn how to
 best implement a security strategy that keeps consumers' information secure
 and instills the confidence they need to proceed with transactions.
 http://p.sf.net/sfu/oracle-sfdevnl
 ___
 Stripes-users mailing list
 Stripes-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/stripes-users




-- 
Richard Hauswald
Blog: http://tnfstacc.blogspot.com/
LinkedIn: http://www.linkedin.com/in/richardhauswald
Xing: http://www.xing.com/profile/Richard_Hauswald

--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] What notebook would you recommend for working with Stripes and whole JavaEE stack?

2011-01-07 Thread Nikolaos Giannopoulos
I run a MacBook Pro 17 early 2008... Core2 Duo CPU with a 7200RPM 
Seagate HDD but the primary and secondary SATA controllers are held back 
to 1.5 and 1.0 Gb/s respectively from 3.0 Gb/s on later models. The 
stock system is OK but not great for development so I supercharged it :-)


About a month ago I found out that I could theoretically get 6GB of RAM 
in this thing (Apple still only supports 4GB) and I picked up a stick of 
4GB (adding it to my 2GB) of RAM from Other World Computing and it 
REALLY makes a difference. Running w/ Eclipse, GlassFish, MySQL (not so 
hungry), Firefox and it really helps not to have to swap anymore. I 
wouldn't run a dev box with anything less than 6GB today.


The 2nd major performance improvement is getting a SSD. True - 
compilation is CPU intensive not disk intensive - but starting up Apps 
almost instantaneously (in comparison to an HDD) is something to behold. 
Firefox pops open. Eclipse launches in around 5 seconds. The system 
launches so fast. But you do need to get a TOP end SSD in my opinion - 
preferably SLC over MLC though the new rave is eMLC - and although 
prices are coming down I wanted to get one of the best SLC SSD's I could 
find so I picked up an Intel X-25E 64GB (I know you said cheap and at 
$800 you could pick up another laptop but reliability is huge for me). I 
then swapped out my HDD for the SSD and then picked up an Optibay 
replacement for my DVD drive and put my HDD in the DVD drive bay; i.e. 
SSD is primary drive; HDD is secondary; and DVD drive ends up in a DVD 
enclosure (came with the kit). One needs a DVD less and less these days 
so getting an SSD and an HDD in a system is ideal IMHO.


The system CPU and SATA controllers are now my bottle neck but when I 
upgrade to a newer Mac the SSD is going into the next system and CPU 
will be better :-) Personally I like to get at least 2 if not 3 years 
out of any given laptop.


Bottom line:

- 6GB+ memory
- Great SSD
- Decent CPU
and you'll be rocking

--Nikolaos




gshegosh wrote:

W dniu 07.01.2011 18:11, Richard Hauswald pisze:
  

Backup on a daily basis(!). I promise you: If you ever developed
webapps on a SSD you will never develop using a HDD again. If you have
to switch back... ...it will be hard!



Yep, I'm using RAID 0 for my system partition and I'm not complaining, 
too. Substantially cheaper than getting top of the line SSD (tried some 
cheaper ones and they were worse than HDDs) and performance is on par.


  

Any Dual Core CPU should suite your needs, I never ever ran out CPU
power when developing software. Memory is something you can't get
enough of. 4GB is ok but I'd like to have 6GB, cause Firefox, Eclipse,
Tomcat, Windows 7, Windowx XP Mode and a Linux VM running in parallel
is not so uncommon for a developer. But nearly to much for 4GB RAM.



Damn, perhaps I should be asking about _software_ stack, not hardware 
one. Eclipse and Tomcat seem to be better for a PC than Netbeans and 
Glassfish are.


As I'm writing these words, Netbeans and Glassfish running for some 3 or 
4 hours take 2,5GB of my memory and it grows with each redeploy, max 
I've seen was almost 8GB. killall -9 java became a kind of routine for 
me since NB+GF will become unstable well before the take up those 12GBs 
I have.


I guess memory is not a problem these days, since it's cheap and easy to 
get 8GB or more even in a laptop.


Perhaps one can't run out of CPU, but when I compare compilation time 
of the same project on my machine which is 4-5s to my friend's Mac where 
it's about 20-30s, I believe my productivity _can_ hurt because of a 
slow CPU. Especially on my old laptop which compiles the same project in 
3 minutes. And compilation is not all, frequent redeployments, switching 
between IDE and browser and Photoshop and Virtualbox, using Firebug, all 
this is much more acceptable on a fast, multi-core CPU.


That's why I'm asking about i5 and i7 laptops -- I can read benchmarks 
all day, but I'd love to hear what development on these machines feels 
like, especially from folks who use Netbeans and Glassfish combo.


The only other option is to find a shop that will let me play with a 
laptop for an hour before I buy it :-D


--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
___

Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

  



--
Nikolaos Giannopoulos
Director of Information Technology
BrightMinds Software Inc.
e. nikol...@brightminds.org
w. www.brightminds.org
t. 1.613.822.1700
c. 

Re: [Stripes-users] What notebook would you recommend for working with Stripes and whole JavaEE stack?

2011-01-07 Thread Nikolaos Giannopoulos
Yes.  Speed is about the same and they are cheaper.  They are MLC... 
NO... AND if so, how about reliability?
Fast and cheap and having to backup your SSD every day are fine if your 
into that... not me... ;-)


I have read too many negative stories on MLC drives and the premium on 
the Intel X-25E is definitely VERY high but I am extremely happy with 
it.  IIRC you can write something ridiculous like 100GB per day for 5 
years and the Intel X-25E should hold up.  In any event the new trend is 
towards eMLC which is so new that I'm not sure I want to step right into 
that without waiting a little while.  Hence the choice of an SLC drive.


IN any event... just check out the SSD you are getting and don't just go 
with fast and cheap ONLY is my advice... reliability is huge for SSD... 
and whatever works for your pocket book and tolerance is great... I'm 
NOT going to get into this SSD is better vs. another as they all have 
PRO's and CON's.


ASIDE:  We are considering launching w/ servers with these SSDs (w/ 
SoftLayer) so there's slightly more to why it was selected.


Cheers,

--Nikolaos



Richard Hauswald wrote:

Sandforce Controller based SSD's are a fast and cheap alternative to
expensive models using SLC:
50-240GB Max Performance
Max Read: up to 285MB/s
Max Write: up to 275MB/s
Sustained Write: up to 250MB/s
Random Write 4KB (Aligned): 50,000 IOPS

You get 120GB for $220 and 240GB for $450.

On Fri, Jan 7, 2011 at 6:56 PM, Nikolaos Giannopoulos
nikol...@brightminds.org wrote:
  

I run a MacBook Pro 17 early 2008... Core2 Duo CPU with a 7200RPM Seagate
HDD but the primary and secondary SATA controllers are held back to 1.5 and
1.0 Gb/s respectively from 3.0 Gb/s on later models.  The stock system is OK
but not great for development so I supercharged it :-)

About a month ago I found out that I could theoretically get 6GB of RAM in
this thing (Apple still only supports 4GB) and I picked up a stick of 4GB
(adding it to my 2GB) of RAM from Other World Computing and it REALLY makes
a difference.  Running w/ Eclipse, GlassFish, MySQL (not so hungry), Firefox
and it really helps not to have to swap anymore.  I wouldn't run a dev box
with anything less than 6GB today.

The 2nd major performance improvement is getting a SSD.  True - compilation
is CPU intensive not disk intensive - but starting up Apps almost
instantaneously (in comparison to an HDD) is something to behold.  Firefox
pops open.  Eclipse launches in around 5 seconds.  The system launches so
fast.   But you do need to get a TOP end SSD in my opinion - preferably SLC
over MLC though the new rave is eMLC - and although prices are coming down I
wanted to get one of the best SLC SSD's I could find so I picked up an Intel
X-25E 64GB (I know you said cheap and at $800 you could pick up another
laptop but reliability is huge for me).  I then swapped out my HDD for the
SSD and then picked up an Optibay replacement for my DVD drive and put my
HDD in the DVD drive bay; i.e. SSD is primary drive;  HDD is secondary; and
DVD drive ends up in a DVD enclosure (came with the kit).  One needs a DVD
less and less these days so getting an SSD and an HDD in a system is ideal
IMHO.

The system CPU and SATA controllers are now my bottle neck but when I
upgrade to a newer Mac the SSD is going into the next system and CPU will be
better :-)  Personally I like to get at least 2 if not 3 years out of any
given laptop.

Bottom line:

- 6GB+ memory
- Great SSD
- Decent CPU
and you'll be rocking

--Nikolaos




gshegosh wrote:

W dniu 07.01.2011 18:11, Richard Hauswald pisze:


Backup on a daily basis(!). I promise you: If you ever developed
webapps on a SSD you will never develop using a HDD again. If you have
to switch back... ...it will be hard!


Yep, I'm using RAID 0 for my system partition and I'm not complaining,
too. Substantially cheaper than getting top of the line SSD (tried some
cheaper ones and they were worse than HDDs) and performance is on par.



Any Dual Core CPU should suite your needs, I never ever ran out CPU
power when developing software. Memory is something you can't get
enough of. 4GB is ok but I'd like to have 6GB, cause Firefox, Eclipse,
Tomcat, Windows 7, Windowx XP Mode and a Linux VM running in parallel
is not so uncommon for a developer. But nearly to much for 4GB RAM.


Damn, perhaps I should be asking about _software_ stack, not hardware
one. Eclipse and Tomcat seem to be better for a PC than Netbeans and
Glassfish are.

As I'm writing these words, Netbeans and Glassfish running for some 3 or
4 hours take 2,5GB of my memory and it grows with each redeploy, max
I've seen was almost 8GB. killall -9 java became a kind of routine for
me since NB+GF will become unstable well before the take up those 12GBs
I have.

I guess memory is not a problem these days, since it's cheap and easy to
get 8GB or more even in a laptop.

Perhaps one can't run out of CPU, but when I compare compilation time
of the same project on my machine which 

Re: [Stripes-users] What notebook would you recommend for working with Stripes and whole JavaEE stack?

2011-01-07 Thread gshegosh
W dniu 07.01.2011 18:50, Richard Hauswald pisze:
 Just work one week on a SSD. The access times and parallel reads and
 writes speed of a good SSD are just amazing - even compared to RAID0.
 This comes into play when multitasking is performed.

You're probably right, but for now RAID 0 performance is enough for me 
on modern HDDs, I have no problem with my desktop setup I use for 
working, the problem is getting a mobile setup that won't be 5 times 
slower and I don't think SSD in a laptop will help THAT much.

 As I'm writing these words, Netbeans and Glassfish running for some 3 or
 4 hours take 2,5GB of my memory and it grows with each redeploy, max
 I've seen was almost 8GB. killall -9 java became a kind of routine for
 me since NB+GF will become unstable well before the take up those 12GBs
 I have.
 There must be something wrong Netbeans runs in a JVM wich is
 started with a predefined amount max memory. If this memory is eaten
 up it'll serve you with a fresh hep space exception. IMHO this is also
 the case for Glassfish. I know for sure that this is the case for
 Tomcat and Jetty. Look for JVM parameters Xmx/Xms and I believe
 XX:MaxPermSize or something similar.

That's actually quite strange with Netbeans. I can see it's using Xmx 
512M and MaxPermSize 200M but it still takes up almost 800M in mem and 
I've seen more than 1,5G occasionally.

As to Glassfish - I have plenty of RAM so I upped Xmx and permsize 
because otherwise it would give me outofmemory exceptions every 2 or 3 
redeploys. I guess it's some serious leak in Glassfish itself, because 
it happens for more than one apps and at the production, where redeploys 
are rare, the problem is nonexistent.

 You wont note a difference betwenn i5 and i7 when developing webapps.
 If you do care about build time differences of a half second then use
 a i7.

Probably true because I don't see all cores of my i7 busy too much on my 
desktop (video and mass image processing is amazingly fast though).

So, a laptop with i5, 8G of RAM and an SSD drive perhaps should be good 
for my needs. I haven't been really following _all_ tech changes in PCs 
recently, is there anything else I should look at when hunting for a 
perfect machine? :-)

--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] What notebook would you recommend for working with Stripes and whole JavaEE stack?

2011-01-07 Thread Nikolaos Giannopoulos

gshegosh wrote:
That's actually quite strange with Netbeans. I can see it's using Xmx 
512M and MaxPermSize 200M but it still takes up almost 800M in mem and 
I've seen more than 1,5G occasionally.
  
JVM Heap + Perm Gen (most JVMs except JRockit have it sit outside Java 
Heap) + C Heap, Thread stacks, etc... = Process Memory


So... 512M + 200M + ?... should at least be 712M+ and 800M isn't a 
surprise.


What are you doing when you see it go up to 1.5G? Does it happen over a 
protracted period of time? Perhaps a NetBeans memory leak? If its 
nothing special then I would look at bug reports and consider switching 
to another IDE as 1.5GB is ridiculous.


As to Glassfish - I have plenty of RAM so I upped Xmx and permsize 
because otherwise it would give me outofmemory exceptions every 2 or 3 
redeploys. I guess it's some serious leak in Glassfish itself, because 
it happens for more than one apps and at the production, where redeploys 
are rare, the problem is nonexistent.
  
What exact version of GlassFish and what JDK? v3 Final? 1.6_? I have not 
seen any such memory leaks... . Do you happen to have a .hs_err_BLAH 
(IIRC the name) file when the OOM occured... b/c if you do then you 
should be able to easily see what filled up... if it indeed was perm gen 
space or something else?


It's quite common practice to have on production app servers the min and 
max of memory settings the same and maxed so that things don't grow i.e. 
set permSize AND maxPermSize to your max perm size... set -Xms AND 
-Xmx to your max JVM heap size... otherwise new blocks of memory will 
need to be allocated, copying, etc... . In development I set the min to 
at least 1/2 my max for the heap and set min and max perm gen to the max 
value as there is a lot of class re-compilation / re-loading... 256MB is 
usually sufficient and if that fills up its probably best to restart the 
app server in any event. Then there are other JVM settings to tune as 
well... like GC algorithm, GC threads, etc... setup your gc to print out 
periodically and review the data.


What OS are you running on and what is your -Xss JVM setting? On Solaris 
for example 1MB is allocated to the stack for each thread which is 
overkill for almost any production app... 128k is typically more than 
sufficient.


Performance tuning is a big area in itself and there are many things to 
adjust / tweak. It amazes me how many times I have seen client 
production app's fall over on a 32bit JVM with say 2.5GB of allocated 
heap... yes... if you get enough load and your app server is worked hard 
enough... it will fall over at 3.5 - 3.8GB (at least on Solaris).


But honestly you can't compare any app server in development vs. 
production as the load characteristics and most often even the OS aren't 
even the same.



You wont note a difference betwenn i5 and i7 when developing webapps.
If you do care about build time differences of a half second then use
a i7.



Probably true because I don't see all cores of my i7 busy too much on my 
desktop (video and mass image processing is amazingly fast though).


So, a laptop with i5, 8G of RAM and an SSD drive perhaps should be good 
for my needs. I haven't been really following _all_ tech changes in PCs 
recently, is there anything else I should look at when hunting for a 
perfect machine? :-)
  
I think that pretty much covers the hardware side... save of course a 
big screen and / or external display.


--Nikolaos


--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl ___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users


Re: [Stripes-users] What notebook would you recommend for working with Stripes and whole JavaEE stack?

2011-01-07 Thread gshegosh
W dniu 07.01.2011 23:24, Nikolaos Giannopoulos pisze:
 So... 512M + 200M + ?... should at least be 712M+ and 800M isn't a
 surprise.

 What are you doing when you see it go up to 1.5G? Does it happen over a
 protracted period of time? Perhaps a NetBeans memory leak? If its
 nothing special then I would look at bug reports and consider switching
 to another IDE as 1.5GB is ridiculous.

Right now it's taking up 901M and it was just idly sitting there since 
I sent last post. You are right that it's ridiculous, but alas migrating 
to Eclipse or other IDE is not that easy, especially when Metisse has 
been used in app client.

 What exact version of GlassFish and what JDK? v3 Final? 1.6_? I have not
 seen any such memory leaks... . Do you happen to have a .hs_err_BLAH
 (IIRC the name) file when the OOM occured... b/c if you do then you
 should be able to easily see what filled up... if it indeed was perm gen
 space or something else?

I've had it on 2.0 and 2.1, I have it on 3.0 final. Always using the 
newest 1.6 JDK. I remember seeing some hs_err files, will see what's inside.

 It's quite common practice to have on production app servers the min and
(...)
 periodically and review the data.

Those are really nice tips, thanks.

 What OS are you running on and what is your -Xss JVM setting? On Solaris
 for example 1MB is allocated to the stack for each thread which is
 overkill for almost any production app... 128k is typically more than
 sufficient.

I'm on 64-bit Ubuntu Linux 10.10 now. We see the same problems with the 
NB-GF duo on Macbook Pro, I had the same unstability back in the days I 
used Windows. I got used to that I guess.

 Performance tuning is a big area in itself and there are many things to

Yeah, we were able to increase the number of simultanous user sessions 
production server can handle 3-fold just by tuning some Glassfish options.

 But honestly you can't compare any app server in development vs.
 production as the load characteristics and most often even the OS aren't
 even the same.

For me it's the same OS, same JDK and same most of the software 
environment. What's different is hardware of course and load 
characteristics, but I am observing that production Glassfish _also_ 
fails when too many redeploys are done. Unfortunately, during 
development there are sometimes several redeploys per minute (thanks to 
deploy on save feature in Netbeans).

 I think that pretty much covers the hardware side... save of course a
 big screen and / or external display.

Probably will go with Dell Vostro 3700 with i5 and 8 gigs. Thanks for 
insights to everyone.

--
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
___
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users