Creating .map file with mapfilewriter plugin for osmosis
<p>I tried to make a .map file to use it in my android application. My point is to show map on screen with help of mapsforge library. Library requires a .map file. The problem is generating it with osmosis mapfilewriter plugin. When I use command</p>

<pre><code>./osmosis --rx file=/home/user/poland.osm --mw file=result.map bbox=51.09,16.9,51.14,17
</code></pre>

<p>I get </p>

<pre><code>SEVERE: Thread for task 1-rx failed
java.lang.OutOfMemoryError: Java heap space
</code></pre>

<p>I tried using another order of arguments but it also doesn't work. I also tried using <code>-Xmx1200m</code> option to increase javas heap memory but usage of memory was this same and didn't help.</p>

<p>I would be grateful for help.</p>
