OSX: How to change the stack size and memory usage options
Moderators: dorpond, trevor, Azhrei
Forum rules
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior.
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior.
OSX: How to change the stack size and memory usage options
When using the OSX .dmg version of MapTools, I found that the easiest way to change the default stack size and memory usage options (you know, the ones we dont get an options dialogue to set?), is to do the following:
Right click (or Command-Click if you have a single button mouse) on the MapTools.app, and select "Show Package Contents" Find Info.plist in the package Right click (or Command-Click) on the Info.plist file, and select "Open With > TextEdit" Find the highlighted line in the script and alter the values to suit your requirements.
Hope this simple little process will help my fellow mac users out there =)
Right click (or Command-Click if you have a single button mouse) on the MapTools.app, and select "Show Package Contents" Find Info.plist in the package Right click (or Command-Click) on the Info.plist file, and select "Open With > TextEdit" Find the highlighted line in the script and alter the values to suit your requirements.
Hope this simple little process will help my fellow mac users out there =)
RPGA: 7214037877
Timezone: UTC+10
Timezone: UTC+10
- keithcurtis
- Giant
- Posts: 129
- Joined: Fri Mar 02, 2007 3:18 am
- Contact:
Re: OSX: How to change the stack size and memory usage options
That looks very elegant. Does it solve the Java update problem, then? Because I'm upgrading to Snow Leopard tomorrow.
Re: OSX: How to change the stack size and memory usage options
Yeah, if you use the DMG version this bypasses the Web Start issues.keithcurtis wrote:That looks very elegant. Does it solve the Java update problem, then? Because I'm upgrading to Snow Leopard tomorrow.
Re: OSX: How to change the stack size and memory usage options
I've been trying to help someone edit the maptools file in order to set his stack size etc following these instructions (he's using a mac mini with OSX, not sure what version). he can open up the plist file, but is unable to save any changes. I guess it has something to do with read/write permissions, but never having used a Mac myself I'm a bit stumped. Any suggestions as o how to get this working?
Re: OSX: How to change the stack size and memory usage options
Weird. If he is the user that double-clicked the DMG and dragged the .app to his desktop, he should certainly be able to edit the .plist file...simonr43 wrote:he can open up the plist file, but is unable to save any changes. I guess it has something to do with read/write permissions
I can't think of anything that would be a problem. Perhaps you can get some details from the user about what hes doing? Or ask him to register here and describe his process. I've got Tiger on my MacBook Pro and I just installed Leopard on an external drive so I can (hopefully) test with both of them now...
Re: OSX: How to change the stack size and memory usage options
I think its probably just a case of permissions.
If you do a Get Info on both the Maptools.app application, and the plist file inside it, you should be able to check that you have the necessary permissions to write the updated plist.
If you do a Get Info on both the Maptools.app application, and the plist file inside it, you should be able to check that you have the necessary permissions to write the updated plist.
RPGA: 7214037877
Timezone: UTC+10
Timezone: UTC+10
- keithcurtis
- Giant
- Posts: 129
- Joined: Fri Mar 02, 2007 3:18 am
- Contact:
Re: OSX: How to change the stack size and memory usage options
I just upgraded to Snow Leopard, and this method works beautifully. I did have to do some Googling to find out what the strings referred to, but it was a simple change.
Snow Leopard rocks, by the way.
Snow Leopard rocks, by the way.
Re: OSX: How to change the stack size and memory usage options
Thanks for the quick responses. I suspect it is something to do with where he stored the file (he put it in its own folder, not on the desktop). He'll try again tonight following your advice, and i'll report back then,
Si
Si
Re: OSX: How to change the stack size and memory usage options
It was me having the problems File editing. I've managed to sort it now.
Thanks everyone for your help.
Just so you know what I'd been doing, and in case it'll help anyone else:
I'd dicked around with all the permissions at various levels and got error code 195 a few times whilst trying that and 'ghosted' drop down menus telling me I could read write, but I couldn't.
*Confusion*
After reading the answers provided. I double clicked the .dmg. That opens it in a window with the Maptools.app (Maptools cog wheel icon) in. I dragged & dropped that from the window, to my desktop and could then do the show package contents thing and edit and save the file.
I didn't know it mattered where you save, or put stuff as to what permissions you get.
Thanks again for the help.
(If any one thinks it's worth while me reproducing the errors & describing them properly drop me a PM)
Thanks everyone for your help.
Just so you know what I'd been doing, and in case it'll help anyone else:
I'd dicked around with all the permissions at various levels and got error code 195 a few times whilst trying that and 'ghosted' drop down menus telling me I could read write, but I couldn't.
*Confusion*
After reading the answers provided. I double clicked the .dmg. That opens it in a window with the Maptools.app (Maptools cog wheel icon) in. I dragged & dropped that from the window, to my desktop and could then do the show package contents thing and edit and save the file.
I didn't know it mattered where you save, or put stuff as to what permissions you get.
Thanks again for the help.
(If any one thinks it's worth while me reproducing the errors & describing them properly drop me a PM)
It's not about the GP or The XP, it's about the story.
Re: OSX: How to change the stack size and memory usage options
For the ease of a double-click and the convenience of WebStart you can also follow my instructions in this thread (http://forums.rptools.net/viewtopic.php ... 44#p125444) on how to make a little AppleScript launcher.
Re: OSX: How to change the stack size and memory usage options
Just realised that this method doesn't really work in the latest build of MapTool, because for some reason the new MapTool dmg doesn't contain a preferences file!
RPGA: 7214037877
Timezone: UTC+10
Timezone: UTC+10
Re: OSX: How to change the stack size and memory usage options
Are you following the instructions as written? It's not at the top level of the .dmg; it's inside the app file. Right click on the app file and select "Show Package Contents," then open the Contents folder. The Info.plist file is right there.mickytk wrote:Just realised that this method doesn't really work in the latest build of MapTool, because for some reason the new MapTool dmg doesn't contain a preferences file!
I just checked both the original .dmg I built and a copy downloaded from the Web site. Both have the appropriate file in the right place.
-
- Kobold
- Posts: 5
- Joined: Tue Mar 01, 2011 2:13 pm
- Location: Mid-West
Re: OSX: How to change the stack size and memory usage optio
Thanks for the help on the memory issue guys. I'm pretty comfortable playing around with preferences and all that stuff. If there's a drop-out menu, I can usually fix the problem. But once you get into the more "raw" stuff, I get intimidated. I'm interested in putting this program onto my cloud server, and I really want it to work when I put it up live. Thanks for the walk through!
Last edited by Engineer91 on Mon Jun 20, 2011 3:55 pm, edited 1 time in total.
Master of the universe
Re: OSX: How to change the stack size and memory usage optio
Yeah, we really need to come up with a GUI front-end for OSX. The MapToolLauncher.exe that we have is Windows-only and it would be nice for the other platforms to have something similar.
Just not enough hours in a day...
Just not enough hours in a day...