<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "Out of Memory - Java Heap size error"]]></title>
		<link>http://www.sqlpower.ca/forum/posts/list/223.page</link>
		<description><![CDATA[Latest messages posted in the topic "Out of Memory - Java Heap size error"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>Out of Memory - Java Heap size error</title>
				<description><![CDATA[ Situation:  Running MatchMaker on a de-duping project.  One munge process that uses the translate word transformation.  The result table already contains 2mil rows.<br /> <br /> Error -  Java Heap Size error.<br /> <br /> Running the munge process again, having deleted all rows from the results table there are no issues.<br /> <br />  <img src="http://www.sqlpower.ca/forum//images/smilies/97ada74b88049a6d50a6ed40898a03d7.gif" /> ]]></description>
				<guid isPermaLink="true">http://www.sqlpower.ca/forum/posts/preList/1879/2645.page</guid>
				<link>http://www.sqlpower.ca/forum/posts/preList/1879/2645.page</link>
				<pubDate><![CDATA[Mon, 31 Mar 2008 16:53:56]]> GMT</pubDate>
				<author><![CDATA[ lilihammer]]></author>
			</item>
			<item>
				<title>Re:Out of Memory - Java Heap size error</title>
				<description><![CDATA[ Hmm, were you expecting a large number of matches for this run?]]></description>
				<guid isPermaLink="true">http://www.sqlpower.ca/forum/posts/preList/1879/2679.page</guid>
				<link>http://www.sqlpower.ca/forum/posts/preList/1879/2679.page</link>
				<pubDate><![CDATA[Fri, 4 Apr 2008 16:10:38]]> GMT</pubDate>
				<author><![CDATA[ Jeff]]></author>
			</item>
			<item>
				<title>Re:Out of Memory - Java Heap size error</title>
				<description><![CDATA[ I've got similair situation. 2 million records, quite a bit of duplicates - MSSQL 2000, 2gb RAM Dual Core - any advice would be much appreciated - e.g is it a memory problem.]]></description>
				<guid isPermaLink="true">http://www.sqlpower.ca/forum/posts/preList/1879/2876.page</guid>
				<link>http://www.sqlpower.ca/forum/posts/preList/1879/2876.page</link>
				<pubDate><![CDATA[Tue, 13 May 2008 12:08:19]]> GMT</pubDate>
				<author><![CDATA[ mikegreenan]]></author>
			</item>
			<item>
				<title>Re:Out of Memory - Java Heap size error</title>
				<description><![CDATA[ Hello,<br /> <br /> Looks like the Java Virtual Machine (JVM) wasn't allocated enough memory to perform the matching process. The Power*MatchMaker stores the match data in memory, so if you have a lot of duplicates, then it can fill up memory quickly. <br /> <br /> You can read this thread to see our justification for doing most of the work in memory. <a class="snap_shots" href="http://www.sqlpower.ca/forum/posts/list/1827.page" target="_blank" rel="nofollow">http://www.sqlpower.ca/forum/posts/list/1827.page</a><br /> <br /> You can increase the amount of memory that the VM uses by setting or altering the Java Virtual Machine arguments when you run Power*MatchMaker, which will depend on which OS you're running Power*MatchMaker on.<br /> <br /> Since you're using MS SQL Server, I'm presuming you're using the Windows version (correct me if I'm wrong). In which case, you can increase the memory allocated to the JVM by:<br /> <br /> 1) Opening the properties for the Power*MatchMaker shortcut generated by the installer. <br /> <br /> 2) Then in the 'Target' field, there should be the command to run Power*MatchMaker. There should already be an argument that says '-Xmx600m'. <br /> <br /> 3) Change the '600' to the number of MB of memory that you'd like to allocate to the the JVM. (ex. '-Xmx1024m', or maybe even '-Xmx2048m'). <br /> <br /> 4) Then try running that match again.<br /> <br /> ]]></description>
				<guid isPermaLink="true">http://www.sqlpower.ca/forum/posts/preList/1879/2877.page</guid>
				<link>http://www.sqlpower.ca/forum/posts/preList/1879/2877.page</link>
				<pubDate><![CDATA[Tue, 13 May 2008 12:22:59]]> GMT</pubDate>
				<author><![CDATA[ Jeff]]></author>
			</item>
			<item>
				<title>Re:Out of Memory - Java Heap size error</title>
				<description><![CDATA[ Hey Jeff, <br /> <br /> I would suggest that the default java heap size is larger.<br /> Also, if the user doesn't have the short cut created, where would you go to change the java heap size error?]]></description>
				<guid isPermaLink="true">http://www.sqlpower.ca/forum/posts/preList/1879/3883.page</guid>
				<link>http://www.sqlpower.ca/forum/posts/preList/1879/3883.page</link>
				<pubDate><![CDATA[Tue, 26 Aug 2008 15:58:52]]> GMT</pubDate>
				<author><![CDATA[ lilihammer]]></author>
			</item>
			<item>
				<title>Re:Out of Memory - Java Heap size error</title>
				<description><![CDATA[ I'm not sure how practical it would be to set the Java heap size to anything significantly larger than 600m. It can cause the Power*MatchMaker to not even run.<br /> <br /> If you tried setting the maximum heap size to 1024m (1GB) on a Windows XP machine for example, and ran it and you had only 1GB of system memory to begin with, then the application will not run at all. Instead you'd get an error saying that the VM couldn't start because it couldn't reserve enough memory.<br /> <br /> As for altering the maximum heap size, it would depend on how you are starting up the Power*MatchMaker. If you're not using the shortcut, then how are you starting it up?<br /> <br /> For example, if you were running it from the command-line, then you would run the application like so:<br /> <br /> [code]<br /> cd &lt;whatever directory you installed Power*MatchMaker in&gt;<br /> <br /> java -Xmx1024m -jar matchmaker.jar<br /> [/code]<br /> <br /> Change the 1024 number to however many MB of memory that you would like to reserve.<br /> <br /> Or, you can make a custom shortcut instead, then you'll need to modify it.<br /> <br /> Right-click on the shortcut, and choose '[b]Properties[/b]'. Then in the '[b]Target[/b]' field, it should contain the contents <br /> <br /> [code]"&lt;path to your Power*MatchMaker install&gt;\matchmaker.jar"<br /> <br /> For example: "C:\Program Files\Power MatchMaker\matchmaker.jar"[/code]<br /> <br /> What you need to replace it with is:<br /> <br /> [code]java -Xmx1024 -jar "&lt;path to your Power*MatchMaker install&gt;\matchmaker.jar"[/code]<br /> <br /> Again, changing the 1024 to whatever amount you actually need.<br /> <br /> Hope this helps!]]></description>
				<guid isPermaLink="true">http://www.sqlpower.ca/forum/posts/preList/1879/3885.page</guid>
				<link>http://www.sqlpower.ca/forum/posts/preList/1879/3885.page</link>
				<pubDate><![CDATA[Tue, 26 Aug 2008 16:25:58]]> GMT</pubDate>
				<author><![CDATA[ Jeff]]></author>
			</item>
	</channel>
</rss>
