[josm-dev] Resource Handling in josm-ng
Petr Nejedly
Petr.Nejedly at Sun.COM
Thu Jun 19 21:15:56 BST 2008
Raphael Studer napsal(a):
>> So the only thing I'm working on is the stylesheet, but not verry succsesfull..
>
> Don't know what i did wrong, but now it works.
> I copied the josm elemstyles.xml and it's verry fast :)
Yes, it is*. Now let's make it really usable too....
*) Last week I tried whether I can make it swallow a dataset
of the germany.osm size, and with few mods**, I can indeed load
germany.osm (~8.5M entities) with a java heap slightly over a GB
and it is still usable (though slow) for whole-germany view
and pretty fast for closeup panning/editing. So while I had more
ideas on making josm-ng even less memory hungry, they would unnecessarily
complicate the code and I'm abandoning them for now.
**) One is direct timestamp parsing, so no expensive timestamp strings are held
on the heap. This is already in the SVN. The other is replacement of the giant
TreeMap index in the ViewData with a sorted array, but that needs more work
to be a valid solution.
--
Petr "Nenik" Nejedly, NetBeans/Sun Microsystems, http://www.netbeans.org
355/113 -- Not the famous irrational number PI, but an incredible simulation!
More information about the josm-dev
mailing list