You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christopher Schultz <ch...@christopherschultz.net> on 2009/02/06 19:28:10 UTC

Re: [OT] [Tomcat] [daemon] java.lang.OutOfMemoryError unable to createnew native thread

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chuck,

Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:chris@christopherschultz.net]
>> Subject: Re: [OT] [Tomcat] [daemon]
>> java.lang.OutOfMemoryError unable to createnew native thread
>>
>> Assuming Chuck has an iPhone, which has 128MB of RAM
> 
> I do, but it's a 3G, with 16 GB of storage memory. It appears that
> the
> 128MB of RAM was for the previous generation, dissections of the new one
> show 512 MB chips installed.

Well, there's no way I'm dissecting mine, but Wikipedia says both units
have 128MB. Are you talking about "two 512 Mbit SRAM dice"?

> Also, it looks like all code has to fit inside the true RAM, but a
> portion of it is used as a paging area for the data storage;
> consequently apps seem to have direct access to most of the 16 GB as
> a heap. (But I'm not an iPhone developer, so the above is just
> hearsay.)

That's interesting, and implies that apps that care to manage their own
memory could be HUGE in terms of code size. I didn't realize the level
of customization and specialization that had gone into the iPhone's
version of OS X. Do you have a reference I could see?

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmMgToACgkQ9CaO5/Lv0PAKOwCffr/Bay0VVfJ8xwrOG35hAiXy
UZwAn0Fx6rnZvKJlaCZ8Zd7qJ0dLveXt
=O7hL
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: [OT] [Tomcat] [daemon] java.lang.OutOfMemoryError unable to createnew native thread

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Caldarale, Charles R
> Subject: RE: [OT] [Tomcat] [daemon]
> java.lang.OutOfMemoryError unable to createnew native thread
>
> No, what's been reported on various mailing lists.

Looks like the true RAM on the iPhone is indeed just 128 MB, embedded in the same chip carrier as the ARM processor; here's the data sheet for it:
http://sigma.octopart.com/472067/datasheet/Samsung-K4X1G163PC.pdf

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: [OT] [Tomcat] [daemon] java.lang.OutOfMemoryError unable to createnew native thread

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Christopher Schultz [mailto:chris@christopherschultz.net]
> Subject: Re: [OT] [Tomcat] [daemon]
> java.lang.OutOfMemoryError unable to createnew native thread
>
> Are you talking about "two 512 Mbit SRAM dice"?

No, what's been reported on various mailing lists.

> Do you have a reference I could see?

Again no, sorry.  Just browsing lists after I bought one.  As I said, it's hearsay.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Management app start

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Hehl, Thomas [mailto:Thomas.Hehl@acs-inc.com]
> Subject: RE: Management app start
>
> Tomcat=6.0
> Java=1.6
> Redhat Linux 3.something.

> They brought up the management app and stopped the
> webapp, but cannot seem to get it started again.
> I had them e-mail the log, but no help.

Do you know what precisely was done via the Tomcat manager?

You say "the log", but there are numerous log files produced by Tomcat and various webapps; you really need to look at pretty much all of them.

By any chance, does your webapp spawn extra threads, and not shut them down properly?  Does it use any native libraries?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Management app start

Posted by "Hehl, Thomas" <Th...@acs-inc.com>.
Please forgive my foolishness as it is Friday afternoon and my brain
must already be on weekend.:)

Tomcat=6.0
Java=1.6
Redhat Linux 3.something.

-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] 
Sent: Friday, February 06, 2009 1:49 PM
To: Tomcat Users List
Subject: RE: Management app start

> From: Hehl, Thomas [mailto:Thomas.Hehl@acs-inc.com]
> Subject: Management app start
>
> This is a remote client, so I'm stuck as to what to look at next.

How about looking at the Tomcat version, JRE/JDK in use, OS, etc. - and
then telling us what they are.  Or consult a psychic.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Management app start

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Hehl, Thomas [mailto:Thomas.Hehl@acs-inc.com]
> Subject: Management app start
>
> This is a remote client, so I'm stuck as to what to look at next.

How about looking at the Tomcat version, JRE/JDK in use, OS, etc. - and then telling us what they are.  Or consult a psychic.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Management app start

Posted by "Hehl, Thomas" <Th...@acs-inc.com>.
I have a client using our software and have set up for them a user for
the management app. They brought up the management app and stopped the
webapp, but cannot seem to get it started again. I had them e-mail the
log, but no help.

This is a remote client, so I'm stuck as to what to look at next.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org