#68 Instructions in documentation 4 "Out of Memory" not helpful

open
nobody
other (7)
5
2012-02-13
2012-02-13
Anonymous
No

The manual says "switch to the directory containing the java treeview distribution (using either cd or chdir or whatever), and then type

java -Xmx###m -jar TreeViewLauncher.jar"

But when you go there in the mac osx installation, there is no TreeViewLauncher.jar file. I've been searching for hours online to figure out how to launch java treeview from the command line, i.,e. where to find the appropriate jar file, but it's nowhere to be found. please document how to start up java TreeView from the command line in Mac OS X.

Thanks,
Rob

Discussion

  • Alok Saldanha
    Alok Saldanha
    2012-02-14

    Hi Rob,

    I'll look into how to increase max heap size on Mac OS X. In the meantime, you can download the platform-independent "bin" distribution, it works great on mac os X and the existing instructions for increasing the max heap size should apply.

    Best,
    Alok

     
  • Alok Saldanha
    Alok Saldanha
    2012-02-14

    Hi Rob,

    The java args for the mac distribution live in the TreeView.app/Contents/Info.plist folder, for example I have TreeView installed in /Applications so it can be found here:

    /Applications/TreeView/Java\ TreeView.app/Contents/Info.plist

    There should be a section with VM Args that looks like this:

    <key>VMOptions</key>
    <string>-Xmx500m -Dapple.awt.TextAntialiasing=false </string>

    You just need to adjust the "-Xmx" numbers. I will update the manual and close this bug when I get a chance.

    Best,
    Alok