![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Useful Java Application Components 1.0.0-rc1 (Default branch) | iBot | Software Releases - RSS News | 0 | 04-22-2008 03:30 AM |
| Useful Java Application Components 1.0.0-b3 (Default branch) | iBot | Software Releases - RSS News | 0 | 03-15-2008 07:30 PM |
| Database can't start automatically on solaris | Sachin Vaidya | SUN Solaris | 2 | 02-27-2008 11:12 PM |
| java application holds lot of disk space | balajilinks | Filesystems, Disks and Memory | 0 | 07-02-2007 12:30 PM |
| Application getting killed after one day ??? Help !!!! | ajphaj | UNIX for Dummies Questions & Answers | 6 | 02-25-2005 12:16 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Java application getting killed automatically in Solaris
Hi to all,
I have developed a Java application for Solaris 10. I am uing JDK 5. But it is getting killed after some time. And at the terminal, I got message as Killed. I am new to Solaris. Can anybody help me? |
|
||||
|
Quote:
Depending on how many objects you are allocating, you could be blowing your heap. Memory leaks are still possible in Java. Make sure you are dereferencing your objects (setting to null) so garbage collection can reclaim them. Also make sure socket and db connections are not remaining open. It is quite possible that your application needs to have larger memory bounds. To set larger memory bounds from between 32MB to 128MB: java -Xms32m -Xmx128m MyClassName |
|
||||
|
How are you firing up the process calling it? it could be something as simple as you need to nohup the process and stick it into the background. This would prevent the process from dying when you logged out.
and no, running as a non-privileged user is a good idea. only use the root user when you have to. Depending on what your app does, you should be able to run everything as a non-privileged user at all times. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|