<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: LoadVars RAM Saver Trick	</title>
	<atom:link href="https://jessewarden.com/2004/05/loadvars-ram-saver-trick.html/feed" rel="self" type="application/rss+xml" />
	<link>https://jessewarden.com/2004/05/loadvars-ram-saver-trick.html</link>
	<description>Software &#124; Fitness &#124; Gaming</description>
	<lastBuildDate>Tue, 15 Jun 2004 01:56:29 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: Michal		</title>
		<link>https://jessewarden.com/2004/05/loadvars-ram-saver-trick.html/comment-page-1#comment-1684</link>

		<dc:creator><![CDATA[Michal]]></dc:creator>
		<pubDate>Tue, 15 Jun 2004 01:56:29 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=518#comment-1684</guid>

					<description><![CDATA[I came accross this issue by having to reload an XML object over and over during a loop in a &#039;screensaver&#039;, crashing my PC eventually.
I worked around it by setting isLoaded flag

Anyway, here&#039;s some example code of how to repro this bug

function init() {
	adXML = new XML();
	adXMLfile = &quot;xmlfile.xml&quot;;
	loadXml();
}
function loadXml() {
	adXML.load(adXMLfile);
	adXML.onLoad = function(sucess) {
		if (sucess) {
			init();
			pass++;
			output.text = pass;
		}
	};
}
init();
]]></description>
			<content:encoded><![CDATA[<p>I came accross this issue by having to reload an XML object over and over during a loop in a &#8216;screensaver&#8217;, crashing my PC eventually.<br />
I worked around it by setting isLoaded flag</p>
<p>Anyway, here&#8217;s some example code of how to repro this bug</p>
<p>function init() {<br />
	adXML = new XML();<br />
	adXMLfile = &#8220;xmlfile.xml&#8221;;<br />
	loadXml();<br />
}<br />
function loadXml() {<br />
	adXML.load(adXMLfile);<br />
	adXML.onLoad = function(sucess) {<br />
		if (sucess) {<br />
			init();<br />
			pass++;<br />
			output.text = pass;<br />
		}<br />
	};<br />
}<br />
init();</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Kenny Bunch		</title>
		<link>https://jessewarden.com/2004/05/loadvars-ram-saver-trick.html/comment-page-1#comment-1683</link>

		<dc:creator><![CDATA[Kenny Bunch]]></dc:creator>
		<pubDate>Wed, 12 May 2004 19:30:42 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=518#comment-1683</guid>

					<description><![CDATA[Jesse,

I possible, offload the parsing of the xml to your server. If you have it aggregating it on a cron each week, don&#039;t just mirror the xml to your server, but parse it as well. You could parse the xml into a php version of same data type that you are currently deserializing it to on the client side. You could save this data as serialized info on your server. Then when a client requests the info you could have a PHP script read in the data and send it to the client via Flash remoting. You would take one hit each week for the processing, and a lot less intensive hit each time someone made a request. You aren&#039;t serving flat xml files anymore, but from the clientside you don&#039;t have the same issues.]]></description>
			<content:encoded><![CDATA[<p>Jesse,</p>
<p>I possible, offload the parsing of the xml to your server. If you have it aggregating it on a cron each week, don&#8217;t just mirror the xml to your server, but parse it as well. You could parse the xml into a php version of same data type that you are currently deserializing it to on the client side. You could save this data as serialized info on your server. Then when a client requests the info you could have a PHP script read in the data and send it to the client via Flash remoting. You would take one hit each week for the processing, and a lot less intensive hit each time someone made a request. You aren&#8217;t serving flat xml files anymore, but from the clientside you don&#8217;t have the same issues.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: JesterXL		</title>
		<link>https://jessewarden.com/2004/05/loadvars-ram-saver-trick.html/comment-page-1#comment-1682</link>

		<dc:creator><![CDATA[JesterXL]]></dc:creator>
		<pubDate>Wed, 12 May 2004 18:08:22 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=518#comment-1682</guid>

					<description><![CDATA[As far as monitoring the RAM usage, I just look at Task Manager.  I&#039;ve heard the &quot;requested memory&quot; excuse from one of the chattyfig lists, but I don&#039;t buy that for a minute.]]></description>
			<content:encoded><![CDATA[<p>As far as monitoring the RAM usage, I just look at Task Manager.  I&#8217;ve heard the &#8220;requested memory&#8221; excuse from one of the chattyfig lists, but I don&#8217;t buy that for a minute.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: JesterXL		</title>
		<link>https://jessewarden.com/2004/05/loadvars-ram-saver-trick.html/comment-page-1#comment-1681</link>

		<dc:creator><![CDATA[JesterXL]]></dc:creator>
		<pubDate>Wed, 12 May 2004 18:07:51 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=518#comment-1681</guid>

					<description><![CDATA[External datasource, as usual, is out of my control.

http://www.swgcraft.com/resourceexport.php

26 different 300k files vs. one 7meg one

Each XML file is loaded individually, parsed into a tiny object, and the process continues until all 26 are done.

I could off-load to the server, but then... it&#039;s already abstracted to simple XML that I can easily parse and then save locally to a local shared object.  I only need to do this once a week for the user.]]></description>
			<content:encoded><![CDATA[<p>External datasource, as usual, is out of my control.</p>
<p><a href="http://www.swgcraft.com/resourceexport.php" rel="nofollow ugc">http://www.swgcraft.com/resourceexport.php</a></p>
<p>26 different 300k files vs. one 7meg one</p>
<p>Each XML file is loaded individually, parsed into a tiny object, and the process continues until all 26 are done.</p>
<p>I could off-load to the server, but then&#8230; it&#8217;s already abstracted to simple XML that I can easily parse and then save locally to a local shared object.  I only need to do this once a week for the user.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: erikbianchi		</title>
		<link>https://jessewarden.com/2004/05/loadvars-ram-saver-trick.html/comment-page-1#comment-1680</link>

		<dc:creator><![CDATA[erikbianchi]]></dc:creator>
		<pubDate>Wed, 12 May 2004 18:02:53 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=518#comment-1680</guid>

					<description><![CDATA[Wow 9 300k xml files! I&#039;d suggest finding a way to optimize your data.

Do you have 9 different views or is each XML file parsed and then compiled into a single data source? If so you may want to consider offloading the parsing to the server.

What are you using to monitor your mem usage? Perfmon?]]></description>
			<content:encoded><![CDATA[<p>Wow 9 300k xml files! I&#8217;d suggest finding a way to optimize your data.</p>
<p>Do you have 9 different views or is each XML file parsed and then compiled into a single data source? If so you may want to consider offloading the parsing to the server.</p>
<p>What are you using to monitor your mem usage? Perfmon?</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
