Daimonin
Members login
Sign Up!      problems?
N F
* Daimonin Forum
Home Help Search Calendar

Welcome Guest, you have to register to post here.
Search

News

Stats
74036 Posts in 6703 Topics by 8113 Members
Latest Member: honda
Daimonin Forum  |  Development  |  Maps  |  Mapping tools  |  Topic: memmory expansion. « previous next »
Pages: [1] Go Down Print
Topic: memmory expansion.  (Read 851 times)
zaurbock
Orc warlord


Karma: +28/-19
Posts: 106


View Profile
« on: August 29, 2008, 04:18:22 pm »

When editing one of my larger maps ( 200x200 I think it is ) my map_maker crashed, looking at that map_maker black log thing, whatever it is Cheesy it said, caused by: java.lang.OutOfMemmoryError. and a bunch of other stuff, so I went back on map_maker, because I remembered a tip talking about large maps... and it said to increase the heap size of gridarta's virtual memmory Machine when editing large maps, how could I do this? otherwise I can't edit my maps Smiley thanks.
Logged

grommit
Administrator
*
*
*
*
*


Karma: +27/-2
Posts: 2481



View Profile
« Reply #1 on: August 29, 2008, 04:29:52 pm »

Well, what are you doing editing a 200 x 200 map in the first place? You should make all your maps 24 x 24 and connect them together. You are unlikely to get anything in the game that isn't composed of maps 24 x 24 maximum, if that is what you want.
Logged
zaurbock
Orc warlord


Karma: +28/-19
Posts: 106


View Profile
« Reply #2 on: August 29, 2008, 05:29:29 pm »

well, I didn't know how to connect maps toghether, so I made a big one instead Smiley
Logged

tehill
Lesser Moroch Avatar
*
*


Karma: +11/-2
Posts: 985



View Profile
« Reply #3 on: August 29, 2008, 06:10:20 pm »

edit w32_start_editor.bat so that the line with DaimoninEditor.jar  looks like this:

javaw.exe -Xmx128m -Xms128m -jar DaimoninEditor.jar

    or this:

javaw.exe -Xmx256m -Xms256m -jar DaimoninEditor.jar
Logged
ThePlaneskeeper
Administrator
*
*
*
*


Karma: +47/-23
Posts: 1228



View Profile WWW
« Reply #4 on: August 30, 2008, 01:00:46 am »

I always have 256+ memory when I am working on maps, as I do some of the same stuff, Make a big map, plot it out, then cut and paste onto a 24x24 area (map).  It work really nice to do it that way BTW.

Hence why i am a proponent to making maps dynamically loading so you can just scroll instead of (manually) loading the nearest 8 maps around the one you are working on.
Logged

zaurbock
Orc warlord


Karma: +28/-19
Posts: 106


View Profile
« Reply #5 on: September 01, 2008, 12:24:03 pm »

thanks tehill, it worked great, sorry I couldn't respond earlier, wasn't home for a few days Smiley
err wait,
edit w32_start_editor.bat so that the line with DaimoninEditor.jar  looks like this:

javaw.exe -Xmx128m -Xms128m -jar DaimoninEditor.jar

    or this:

javaw.exe -Xmx256m -Xms256m -jar DaimoninEditor.jar

which one? when I went to edit on it in the beggining it said...
REM *** this should start the editor **[]
cd editor[]
copy DaimoninEditor.jar.tmp DaimoninEditor.jar
java.exe -jar DaimoninEditor.jar[]
cd ..
there's two "DaimoninEditor.jar"'s I see..?
( it doesn't copy the little boxes, so I replaced them with "[]")
« Last Edit: September 01, 2008, 05:37:06 pm by zaurbock » Logged

zaurbock
Orc warlord


Karma: +28/-19
Posts: 106


View Profile
« Reply #6 on: October 06, 2008, 12:39:43 am »

sorry to double post... but noone ever got back to my question. Sad
my map_maker now looks like this in the edit thing.
REM *** this should start the editor **[]cd editor[]
copy DaimoninEditor.jar.tmp DaimoninEditor.jar[]
java.exe -Xmx256m -jarDaimoninEditor.jar[]
cd ..
and when I try to start the map editor the black screen pops up.. loads.. and dissapears, could anyone tell me my problem? thank you Smiley
EDIT: once again, the squares do not copy.. so I replaced them with "[]".
Logged

tehill
Lesser Moroch Avatar
*
*


Karma: +11/-2
Posts: 985



View Profile
« Reply #7 on: October 06, 2008, 05:15:34 am »

in /bin/win32 mine looks like this:
Code:
REM *** this should start the editor **
cd ..\..\editor
java.exe -Xmx256m -Xms256m -jar DaimoninEditor.jar
cd ..\bin\win32

the extra line you have is for copying an update and that's ok.

also make sure you have installed current Java  JRE  http://www.java.com   it is free.
« Last Edit: October 06, 2008, 05:19:55 am by tehill » Logged
LordGrunt
Administrator
*
*


Karma: +7/-1
Posts: 289



View Profile
« Reply #8 on: October 06, 2008, 06:05:57 am »

the squares should not really copy, nor should you care. its just a sign that notepad will display for unix type of line feed. replace them with just 'enter', and it should be fine
Logged

CadaverForSale.com

Gadu-Gadu: 8194627
Pages: [1] Go Up Print 
Daimonin Forum  |  Development  |  Maps  |  Mapping tools  |  Topic: memmory expansion. « previous next »
Jump to:  

Page created in 0.097 seconds with 23 queries.
Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Copyright 2008 Daimonin MMORPG  •  Terms of Service  •  XHTML  •  Daimonin sourceforge open source project