heap space memory

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jx2
    New Member
    • Feb 2007
    • 228

    #1

    heap space memory

    Hi all, i've got a problem with heap space,
    i know i can run it with something like: -Xms32m -Xmx1028m
    but this is pain in ass (i run it on windows)
    how can i create program with bigger heap space?
    I tried to create a short cut but if i create a short cut like that:
    java -Xms32m -Xmx1028m -jar "myflie.jar "
    it opens a black window, I DONT NEED A BLACK WINDOW!!

    any suggestions?

    thanks
    Jan
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Try using javaw instead of java.
    Does your application really need all that memory or is there perhaps some optimization that can be done in program itself so it can use less memory?

    Comment

    Working...