Come on Dan, just go ahead and rewrite the whole silly thing. You know you want to...<br><br><br><br><br><div><span class="gmail_quote">On 5/18/07, <b class="gmail_sendername">Dan Moore</b> <<a href="mailto:writetodan@yahoo.com">
writetodan@yahoo.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">fyi,<br><br>running Rails (repeated same map?bbox calls) on rexml instead of ruby-libxml approximately halves the memory leaks - yes, rexml leaks also :(. if you omit only the xml output step, memory use stabilises.
<br><br>well, that's afaict, but i'm no ruby expert. i posted this to rails forum, but either the question is too dumb or no-one else knows nothing neither: <a href="http://railsforum.com/viewtopic.php?id=5714">
http://railsforum.com/viewtopic.php?id=5714</a><br><br>i guess there's a few ways forward:<br> 1 - as now, just restart server processes every so often<br> 2 - roll our own ruby xml output (prob. not as quick as libxml)
<br> 3 - move to json output as preferred (assuming json impl doesn't leak)<br> 4 - go java/perl/python*<br> 5 - go native<br> 6 - give up and go home<br>*insert doctrine here<br><br>let me know any suggestions. as reflected in order of the list, i'm tempted to shelve this at this point.
<br>cheers, dan.<br><br><br><br><br>____________________________________________________________________________________Give spam the boot. Take control with tough spam protection in the all-new Yahoo! Mail Beta.<br><a href="http://advision.webevents.yahoo.com/mailbeta/newmail_html.html">
http://advision.webevents.yahoo.com/mailbeta/newmail_html.html</a><br><br>_______________________________________________<br>dev mailing list<br><a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br><a href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev">
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev</a><br></blockquote></div><br>