05-29-2008
Quote:
Originally Posted by
ashish.nijai
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?
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
6 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hai ,
I am working on a system with unix and solaris 5.8 loaded.
The problem is when I leave an application open for more than one day .. it gets killed .. and my one day work goes waste and I have to start all over again .. ???
Is there any way I can find out the maximum number of... (6 Replies)
Discussion started by: ajphaj
6 Replies
2. Shell Programming and Scripting
Dear sir,
I want to know if i shut-down my system and while starting it next time
automatically one application starts running, Is there any way?
I an using Suse linux OS.
PLz Help me! (4 Replies)
Discussion started by: salil2012
4 Replies
3. UNIX and Linux Applications
i had a confusion on the installed directory of my application server
a. if I create a domain w/o putting in directory, the domain automatically goes to /var/appserver/domains directory.
I need it to be under /opt/SUNWappserver/domains.. If I will include this in domain creation, may logs are... (0 Replies)
Discussion started by: lhareigh890
0 Replies
4. Programming
Hello all, This is my first java application since college (years ago..)
What it basically needs to do, is verify that it can connect to a server, and once it is connected, run a series of AIX commands to verify that certain processes are running, and if they aren't running, it needs to start... (1 Reply)
Discussion started by: jeffs42885
1 Replies
5. Programming
Hi,
(First post, please be gental!)
I have a java app that I am running on unix (centos)
But it keeps dying randomly. The times seem random from anything between 3 hours and 3 days.
I have a cronjob running to restart it when ever it dies but I would rather this happened less often.
... (2 Replies)
Discussion started by: sm9ai
2 Replies
6. Solaris
Hi!
I have a m3000 server with solaris 10. Clients connecting to server using Xmanager. But when they open a Java based application its very slow and some times hanging. But when I tried with VNC it works fine. Is this a BUG in Xmanager? Or Is there any method to solve this?
Thanks,
Charith (3 Replies)
Discussion started by: charith.upendra
3 Replies
LEARN ABOUT OPENDARWIN
suninstall
suninstall(1M) System Administration Commands suninstall(1M)
NAME
suninstall - install the Solaris operating system
SYNOPSIS
suninstall
DESCRIPTION
install-solaris(1M) is now the preferred command for starting and restarting the Solaris Installation program. It should be used instead of
suninstall. suninstall is symbolically linked to install-solaris.
suninstall is a forms-based and graphical subsystem for installing the operating system.
suninstall exists only on the Solaris installation media (CD or DVD) and should only be invoked from there. Refer to the Solaris 10 Instal-
lation Guide: Basic Installations for more details.
suninstall allows installation of the operating system onto any standalone system. suninstall loads the software available on the installa-
tion media. Refer to the Solaris 10 Installation Guide: Basic Installations for disk space requirements.
USAGE
Refer to the Solaris 10 Installation Guide: Basic Installations for more information on the various menus and selections.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcdrom (Solaris instal- |
| |lation media) |
+-----------------------------+-----------------------------+
SEE ALSO
pkginfo(1), install(1M), install-solaris(1M), pkgadd(1M), attributes(5)
Solaris 10 Installation Guide: Basic Installations
NOTES
It is advisable to exit suninstall by means of the exit options in the suninstall menus.
SunOS 5.10 9 Sep 2004 suninstall(1M)