<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Not enough space"]]></title>
		<link>http://forums.hotjoe.com/posts/list/9.page</link>
		<description><![CDATA[Latest messages posted in the topic "Not enough space"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Not enough space</title>
				<description><![CDATA[ Hi,<br /> I have an JAVA application which processes jobs running on a SOLARIS platform.Jobs are submitted through job submission clients.<br /> In the case of a job processing for 24hrs duration i am getting a "java.io.IOException Not enough space".<br /> My Jprobe reports are fine.<br /> <br /> HELP IMMEDIATELY REQUIRED.<br /> <br /> regards]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/110/334.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/110/334.page</link>
				<pubDate><![CDATA[Sat, 7 Jan 2006 08:12:27]]> GMT</pubDate>
				<author><![CDATA[ karl]]></author>
			</item>
			<item>
				<title>Re:Not enough space</title>
				<description><![CDATA[ Have you increased the size of your Java heap already?  This is with the -Xmx option that is passed to the Java runtime.  Under the 32 bit Solaris JDK you can go to a maximum of about 1.7GB.  If you are running a 64 bit Solaris O/S I don't know the actual limit but I do know that it is much, much higher.  The parameter can be specified in megabytes so -Xmx1024m gives you 1GB of Java heap space.<br /> <br /> Of course, you'll still need to have enough memory and/or swap space in the O/S to handle an increased Java heap size.]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/110/337.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/110/337.page</link>
				<pubDate><![CDATA[Sat, 7 Jan 2006 15:52:48]]> GMT</pubDate>
				<author><![CDATA[ stdunbar]]></author>
			</item>
			<item>
				<title>Re:Not enough space</title>
				<description><![CDATA[ Hi,<br /> The Xmx option you told i have kept it at 512 MB (as this  is the  specified limit) , so the same is maintained both on SOLARIS and WINDOWS operating systems.<br /> Thing to be noted is that the same scenario that is pdf-pdf processing for a job  works well for WINDOWS OS.No error seen here.<br /> Please let me know if anyother solution possible.<br /> Help immedtly required.]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/110/345.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/110/345.page</link>
				<pubDate><![CDATA[Sun, 8 Jan 2006 07:29:47]]> GMT</pubDate>
				<author><![CDATA[ karl]]></author>
			</item>
			<item>
				<title>Re:Not enough space</title>
				<description><![CDATA[ Are you using the same JVM on both Solaris and Windows?  That is, there is a client JVM and a server JVM.  Under Windows the client JVM is the default.  For a [url=http://java.sun.com/j2se/1.5.0/docs/guide/vm/server-class.html]certain class of machine[/url] the server JVM is the default under Solaris (2GB and 2CPU's).  The server JVM takes more memory as it is expected to be on a server class machine.]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/110/348.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/110/348.page</link>
				<pubDate><![CDATA[Sun, 8 Jan 2006 08:29:39]]> GMT</pubDate>
				<author><![CDATA[ stdunbar]]></author>
			</item>
			<item>
				<title>Re:Not enough space</title>
				<description><![CDATA[ My Solaris system is a 2GB and  a single processor machine  with a 2GB swap space. <br /> I didnt know about the server thing you talked about.<br /> Thanks.  <br /> So a Xmx value with 1024 and swap space 2GB works is it?]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/110/350.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/110/350.page</link>
				<pubDate><![CDATA[Sun, 8 Jan 2006 08:48:42]]> GMT</pubDate>
				<author><![CDATA[ karl]]></author>
			</item>
			<item>
				<title>Re:Not enough space</title>
				<description><![CDATA[ [quote=karl]So a Xmx value with 1024 and swap space 2GB works is it?[/quote]<br /> <br /> I would think that that would work but it depends on what else you have on the machine.  For example, if this machine is also you database server then it might not work so well.<br /> <br /> And just something that has caught me before.  When you specify -Xmx you are actually telling the JVM the number of [b]bytes[/b] to use.  I've forgotten that before and didn't understand why my JVM wouldn't even start when I said "-Xms2048".  That is because I told the JVM to use 2[b]K[/b] of memory!  -Xm1024m says to use 1024 megabytes - a gig.]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/110/352.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/110/352.page</link>
				<pubDate><![CDATA[Sun, 8 Jan 2006 10:05:17]]> GMT</pubDate>
				<author><![CDATA[ stdunbar]]></author>
			</item>
			<item>
				<title>Re:Not enough space</title>
				<description><![CDATA[ I am not using my m/c as a database server and not for anything else also.<br /> [color=brown]Just tell me the parameters to be tuned with exact syntax.[/color]As told earlier my [size=18]Solaris m/c is a 2GB , dual processor and Ultrasparc III i m/c with a 2GB swap space[/size].Except for the PDF-PDF processsing nothing elseworks on  my m/c simultaneously.<br /> ]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/110/355.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/110/355.page</link>
				<pubDate><![CDATA[Sun, 8 Jan 2006 20:45:06]]> GMT</pubDate>
				<author><![CDATA[ karl]]></author>
			</item>
			<item>
				<title>Re:Not enough space</title>
				<description><![CDATA[ Your previous post indicates that you only have a single processor so I though that you were using the client JVM.<br /> <br /> Pass -client and, perhaps, -Xmx1024m to the command that runs the process.  If you're passing the memory argument I doubt that you need the -client but it would make it the same as Windows.<br /> ]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/110/356.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/110/356.page</link>
				<pubDate><![CDATA[Sun, 8 Jan 2006 20:52:39]]> GMT</pubDate>
				<author><![CDATA[ stdunbar]]></author>
			</item>
			<item>
				<title>Re:Not enough space</title>
				<description><![CDATA[ Can there be a common solution to both single processor and dual processor machine.<br /> Anyway i am going now trying -Xmx1024m without passing the -client.<br /> I will reply as soon i get some result.]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/110/357.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/110/357.page</link>
				<pubDate><![CDATA[Sun, 8 Jan 2006 21:02:11]]> GMT</pubDate>
				<author><![CDATA[ karl]]></author>
			</item>
			<item>
				<title>Re:Not enough space</title>
				<description><![CDATA[ I tried the following<br /> 1.-Xms=512m and -Xmx=1024m<br /> 2.-Xms=512m and -Xmx=1024m -client<br /> But no luck.The Not enough space exception seen in 6 hrs time only.<br /> Anyother solution?<br /> I need urgent help.]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/110/363.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/110/363.page</link>
				<pubDate><![CDATA[Mon, 9 Jan 2006 20:57:18]]> GMT</pubDate>
				<author><![CDATA[ karl]]></author>
			</item>
			<item>
				<title>Re:Not enough space</title>
				<description><![CDATA[ I really think that something else is going on.  If the jars on Windows at 512M work and a gig on Solaris doesn't work then I'd think that there is some difference in either the Jars or, perhaps, shared libraries/dlls.  Are there any native libraries associated with this process?  Are you using the same version of Java on both platforms?  Also, what version of Solaris are you on?  Sparc or x86?<br /> <br /> I've been using Java on Solaris for years and haven't had the big issues you're having.  I know this has to be a pain for you.]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/110/365.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/110/365.page</link>
				<pubDate><![CDATA[Mon, 9 Jan 2006 21:39:25]]> GMT</pubDate>
				<author><![CDATA[ stdunbar]]></author>
			</item>
			<item>
				<title>Re:Not enough space</title>
				<description><![CDATA[ [quote] perhaps, shared libraries/dlls. Are there any native libraries associated with this process?[/quote] ya, we are using shared libraries and dlls stuff. Also, we are using the JNI stuff to call the methods of sharedlibraries/dlls.<br /> <br /> [quote]Are you using the same version of Java on both platforms?[/quote] ya, we are using the same version of java.<br /> <br /> [quote]Also, what version of Solaris are you on? Sparc or x86? [/quote]t's a SPARC (Ultra Sparc IIIi)<br /> ]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/110/366.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/110/366.page</link>
				<pubDate><![CDATA[Mon, 9 Jan 2006 23:55:15]]> GMT</pubDate>
				<author><![CDATA[ karl]]></author>
			</item>
			<item>
				<title>Re:Not enough space</title>
				<description><![CDATA[ [quote=karl]It's a SPARC (Ultra Sparc IIIi)[/quote]<br /> <br /> Yeah, you had already said that and I spaced it.  What version of Solaris are you running?  Is it up to date?<br /> <br /> I feel that there is some issue with the shared libraries.  As far as the O/S is concerned Java and any shared libraries it loads are part of a single process space.  If they are leaking memory then it will appear that Java is leaking memory.<br /> <br /> I've used [url=http://www-128.ibm.com/developerworks/rational/library/1499.html]Purify[/url] with a great deal of success.  Admittedly this was when it wasn't a Borland product so I don't know if it is still as good as it was.  But it helps with a large variety of issues in native code.]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/110/367.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/110/367.page</link>
				<pubDate><![CDATA[Tue, 10 Jan 2006 08:24:38]]> GMT</pubDate>
				<author><![CDATA[ stdunbar]]></author>
			</item>
			<item>
				<title>Re:Not enough space</title>
				<description><![CDATA[ Following is my Solaris System Configuration<br /> <br /> Number of CPU's: 		1<br /> Type :			Ultra Sparc IIIi<br /> Clock Speed:		1,280 MHz<br /> Operating System:		SunOS 5.10 <br /> <br /> Physical Memory:		2,048 MB<br /> Virtual Memory:		3,663 MB<br /> Virtual Memory Used:	23% , 2830 MB Available<br /> <br /> I am using 64-bit machine.<br /> <br /> The java environment is as follows:<br /> <br /> Windows<br /> ----------<br /> java version "1.4.2_09"<br /> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-b05)<br /> Java HotSpot(TM) Client VM (build 1.4.2_09-b05, mixed mode)<br /> <br /> Solaris<br /> --------<br /> java version "1.4.2_09"<br /> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-b05)<br /> Java HotSpot(TM) Client VM (build 1.4.2_09-b05, mixed mode)<br /> <br /> Yes I am using native libraries. Do you think the trial version of Rational Purify would help us to find any leaks in java/native code on Solaris. I am using JProbe Memory Debugger to find out leaks in java. I didn't find any leaks in java.]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/110/387.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/110/387.page</link>
				<pubDate><![CDATA[Tue, 10 Jan 2006 22:20:45]]> GMT</pubDate>
				<author><![CDATA[ karl]]></author>
			</item>
			<item>
				<title>Re:Not enough space</title>
				<description><![CDATA[ It looks like IBM [url=http://www14.software.ibm.com/webapp/download/preconfig.jsp?id=2005-04-28+14%3A03%3A28.342185R&S_TACT=104CBW71&S_CMP=&s=]offers a trial[/url] that will run on Solaris Sparc.  I'd try to run it against the entire executable, including the shared libraries.]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/110/391.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/110/391.page</link>
				<pubDate><![CDATA[Wed, 11 Jan 2006 09:42:31]]> GMT</pubDate>
				<author><![CDATA[ stdunbar]]></author>
			</item>
			<item>
				<title>Re:Not enough space</title>
				<description><![CDATA[ Can you suggest me a link which would guide me how to use the rational purify plus tool to detect memory leaks effectively( an online manual type).]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/110/412.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/110/412.page</link>
				<pubDate><![CDATA[Sun, 15 Jan 2006 08:28:06]]> GMT</pubDate>
				<author><![CDATA[ karl]]></author>
			</item>
			<item>
				<title>Re:Not enough space</title>
				<description><![CDATA[ I tried using rational purify plus on solaris but the tool gives options to run the native libraries(.c files)  individually and  not attaching with my application. Testing individually is a huge overhead.<br /> So i am not able to test the native part .<br /> Help required.<br /> ]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/110/425.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/110/425.page</link>
				<pubDate><![CDATA[Tue, 17 Jan 2006 02:39:42]]> GMT</pubDate>
				<author><![CDATA[ karl]]></author>
			</item>
			<item>
				<title>Re:Not enough space</title>
				<description><![CDATA[ I ran my application on another memory leak detect tool called GlancePlus but no leaks are detected.<br /> I have some additional info. down here can you help me  <br /> <br /> Our application uses JNI calls. It works well on windows but is failing on Solaris. The Native code is third party software. I cannot suspect a memory leak as it is working well on windows. I suspect the integration of Java Native code. I have seen that temporary files are created and deleted in /tmp folder. The physical RAM is v.low when observed after this error. I think that solaris is able to use physical RAM but is failing to release memory back.<br /> <br /> Stack trace:<br /> -----------------<br /> java.io.IOException: Not enough space<br /> at java.lang.UNIXProcess.forkAndExec(Native Method)<br /> at java.lang.UNIXProcess.&lt;init&gt;(Unknown Source)<br /> at java.lang.Runtime.execInternal(Native Method)<br /> at java.lang.Runtime.exec(Unknown Source)<br /> at java.lang.Runtime.exec(Unknown Source)<br /> at java.lang.Runtime.exec(Unknown Source)<br /> at JobPreproc.exec(JobPreproc.java)<br /> at JobPreproc.execPreproc(JobPreproc.java)<br /> at JobPreproc.startAnotherPreproc(JobPreproc.java)<br /> at JobChangeMed.tryStartPreprocWaitJob(JobChangeMed.java)<br /> at JobObs.procJobExternalProcCompleted(JobObs.java)<br /> at JobObs.onEvent(JobObs.java)<br /> at EventMan.sendEventToObserver(Unknown Source)<br /> at EventMan.run(Unknown Source)<br /> at java.lang.Thread.run(Unknown Source)<br /> <br /> The following are the reading taken before submitting the input to my application and after the error is seen.<br /> <br /> Before<br /> <br /> Physical Memory Used: 597,056 Kb<br /> Physical Memory Free: 1,500,096 kb<br /> Total Physical Memory: 2 GB<br /> Active Processes: 80<br /> Swap Used: 848,290 kb<br /> Swap Free: 3,927,152 kb<br /> Total Swap Space: 3 GB<br /> Virtual Memory Used: 17%<br /> <br /> After<br /> <br /> Physical Memory Used: 2,048,529 Kb<br /> Physical Memory Free: 48,624 kb<br /> Total Physical Memory: 2 GB<br /> Active Processes: 87<br /> Swap Used: 2,512,696<br /> Swap Free: 2,191,928 kb<br /> Total Swap Space: 3 GB<br /> Virtual Memory Used: 53%<br /> <br /> Its an Ultra Sparc IIIi single processor machine and OS is Solaris 10.<br /> Help me out?]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/110/516.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/110/516.page</link>
				<pubDate><![CDATA[Thu, 9 Feb 2006 08:34:31]]> GMT</pubDate>
				<author><![CDATA[ karl]]></author>
			</item>
			<item>
				<title>Re:Not enough space</title>
				<description><![CDATA[ [quote]<br /> I cannot suspect a memory leak as it is working well on windows.<br /> [/quote]<br /> <br /> [quote]<br /> java.io.IOException: Not enough space<br /> at java.lang.UNIXProcess.forkAndExec(Native Method) <br /> [/quote]<br /> <br /> I'm sorry, but I'm going to say it is your third party library.  Why are they java.lang.Runtime.exec()'ing a process?  Under Unix this can be an extremely expensive operation.  The [b]entire[/b] process space is duplicated during a fork()!  That means if you have a process taking 2.5GB of space you now need 5GB of space as there will be two of the exact same processes for a small amount of time - until the O/S level exec() can run.<br /> <br /> We need more information - [b]what[/b] is the processing exec()'ing?  Why can't it spawn a thread?  Is it possible to change the architecture of this - perhaps a small "spawning" process that can be sent a signal somehow to start the process?<br /> <br /> You posted this in the J2EE forum which makes me think you're running this under some sort of application server.  Is this the case?  I would really caution you to not try to exec() something out of an app server - they are large and it is expensive to do under Unix.<br /> <br /> Let us know.]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/110/517.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/110/517.page</link>
				<pubDate><![CDATA[Thu, 9 Feb 2006 09:36:01]]> GMT</pubDate>
				<author><![CDATA[ stdunbar]]></author>
			</item>
			<item>
				<title>Re:Not enough space</title>
				<description><![CDATA[ what is the processing exec()'ing?<br /> It uses a third party kit to determine whether the document is color or not.<br /> <br /> Why can't it spawn a thread? Is it possible to change the architecture of this - perhaps a small "spawning" process that can be sent a signal somehow to start the process? <br /> Changing the architecture is not possible.<br /> <br /> The application uses Tomcat server.<br /> <br /> ]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/110/523.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/110/523.page</link>
				<pubDate><![CDATA[Fri, 10 Feb 2006 02:43:39]]> GMT</pubDate>
				<author><![CDATA[ karl]]></author>
			</item>
			<item>
				<title>Re:Not enough space</title>
				<description><![CDATA[ I reverted back to the old library version of the native code and it worked fine.<br /> One observation made was the older library was maintaining some 20K files in the /tmp folder. The total size of the /tmp folder was around 50MB all the time. With the new native library the /tmp folder only a couple of files were created and deleted in few seconds.<br /> Can anything be infered from this observation.]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/110/553.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/110/553.page</link>
				<pubDate><![CDATA[Wed, 15 Feb 2006 06:43:34]]> GMT</pubDate>
				<author><![CDATA[ karl]]></author>
			</item>
			<item>
				<title>Re:Not enough space</title>
				<description><![CDATA[ Before I doubted my third party library i did a small test.<br /> I wrote a prog. which creates a files writes some data into it and deletes the file in /tmp folder.I ran the prog. in a loop for 1 hr.<br /> When i compared the memory statistics before and after the run I found that Solaris had consumed around 50MB space and not released back as the files created were deleted.The physical and vitual memory spaces were consumed and not released.<br /> I am doubting that the Solaris is not able to release the memory?<br /> Any solution...]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/110/563.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/110/563.page</link>
				<pubDate><![CDATA[Thu, 16 Feb 2006 07:24:30]]> GMT</pubDate>
				<author><![CDATA[ karl]]></author>
			</item>
			<item>
				<title>Re:Not enough space</title>
				<description><![CDATA[ Atlast we could drill down the problem to the third party libraries.<br /> Thanks a lot for your valuable suggestions all the way.]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/110/673.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/110/673.page</link>
				<pubDate><![CDATA[Wed, 1 Mar 2006 06:01:14]]> GMT</pubDate>
				<author><![CDATA[ karl]]></author>
			</item>
			<item>
				<title>Re:Not enough space</title>
				<description><![CDATA[ That is fantastic!  Glad you got it working.  ]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/110/674.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/110/674.page</link>
				<pubDate><![CDATA[Wed, 1 Mar 2006 08:44:21]]> GMT</pubDate>
				<author><![CDATA[ stdunbar]]></author>
			</item>
			<item>
				<title>Re:Not enough space</title>
				<description><![CDATA[ Can you please share the solution for this problem.I am facing the same. Using Tomcat5.5 and jsp. Running parallel perl scripts from Java using invoking using Runtime.exec(path to perlscript)<br /> <br /> ]]></description>
				<guid isPermaLink="true">http://forums.hotjoe.com/posts/preList/110/2322.page</guid>
				<link>http://forums.hotjoe.com/posts/preList/110/2322.page</link>
				<pubDate><![CDATA[Thu, 25 Jun 2009 04:19:32]]> GMT</pubDate>
				<author><![CDATA[ sps]]></author>
			</item>
	</channel>
</rss>
