<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: Has anyone come accross this jitter java error?</title>
		<atom:link href="http://cycling74.com/forums/topic/has-anyone-come-accross-this-jitter-java-error/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/has-anyone-come-accross-this-jitter-java-error/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 08:11:28 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/has-anyone-come-accross-this-jitter-java-error/#post-25971</guid>
					<title><![CDATA[Has anyone come accross this jitter java error?]]></title>
					<link>http://cycling74.com/forums/topic/has-anyone-come-accross-this-jitter-java-error/#post-25971</link>
					<pubDate>Sun, 14 May 2006 18:14:04 +0000</pubDate>
					<dc:creator>Mark</dc:creator>

					<description>
						<![CDATA[
						<p>In one of my projects I am getting very irregularly following error:</p>
<p>jit_java_jitobj_new: error trying to register object</p>
<p>
All I do with jitter in java is to create initially a couple of JitterMatrix object, using something like</p>
<p>jm[h] = new JitterMatrix(h + matrixName, 13, &#8220;float32&#8243;, new int[] {coord[0].length, 1 });</p>
<p>Afterwards I resize the matrices and send them to several jit.gl.mesh objects. This happens every frame.</p>
<p>For resizing the matrices I use something similar to:</p>
<p>jm[h].setDim(new int[] { coord[0].length, 1 })</p>
<p>Any idea?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/has-anyone-come-accross-this-jitter-java-error/#post-77088</guid>
					<title><![CDATA[Re: Has anyone come accross this jitter java error?]]></title>
					<link>http://cycling74.com/forums/topic/has-anyone-come-accross-this-jitter-java-error/#post-77088</link>
					<pubDate>Sun, 14 May 2006 19:29:36 +0000</pubDate>
					<dc:creator>Joshua Kit Clayton</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Mark,</p>
<p>This looks like a problem in our object registration code where we  <br />
may be failing in the instance we try to register objects with the  <br />
same name or object pointer before they have been garbage collected.</p>
<p>The first solution would be to only create these matrices once. this  <br />
will be noticeably more efficient than creating every frame. However  <br />
if you need to create these matrices each frame, or dynamically, I  <br />
would recommend using the freepeer() method on JitterMatrix. This  <br />
will also save you some memory usage bloat that can happen as the GC  <br />
waits to collect objects.</p>
<p>Let us know if you still have problems, and please provide a simple  <br />
but complete example which illustrates your problem with detailed  <br />
platform and software version info.</p>
<p>-Joshua</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/has-anyone-come-accross-this-jitter-java-error/#post-77089</guid>
					<title><![CDATA[Re: Has anyone come accross this jitter java error?]]></title>
					<link>http://cycling74.com/forums/topic/has-anyone-come-accross-this-jitter-java-error/#post-77089</link>
					<pubDate>Tue, 16 May 2006 11:44:16 +0000</pubDate>
					<dc:creator>Mark</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Joshua,</p>
<p>thanks for your advise. Actually the way I did it with resizing the matrix using jm.setDim() works now fine without causing any errors.</p>
<p>I think the mentioned errors mainly occur when using too frequently  the constructor JitterMatrix(java.lang.String name) to resize matrices within Java.</p>
<p>Cheers</p>
<p>Mark</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

