eclipse. Java heap space 오류

Posted 2010/04/18 13:17, Filed under: 나의 길/에러 극복하기
사용자 삽입 이미지

요즘은 이클립스를 가지고 작업을 한다.
물론 아는바는 없지.. ^^

컴파일을 하다보면 저런 에러를 만난다.
Java heap space 에러나 java.lang.OutOfMemoryError 에러.
전에는 그냥 그런가보다 했지만 너무 자주나서 찾아봤더니 간단한 해결책이 있더군

eclipse 실행폴더에 보면 eclipse.ini 파일이 있다

위에서 Xms 는 최소 Xmx는 최대 메모리 설정값이다
저값을 크게 늘려준다.
내 노트북 메모리가 4기가인데 많이 놓고 있었던 상태군.

검색에 의하면 종종 PermGen 값에도 영향이 있다고 하니 설정을 했는데도 오류가 발생할 경우에는
XXMaxPermSize 값을 수정해준다.

위의 값을 고쳤을시에

사용자 삽입 이미지
위와 같이 오류가 발생할 수 있다.
JVM terminated. Exit code=-1

이럴 경우에는
vm 으로
javaw.exe 를 지정해준다.
-vm C:\Program Files (x86)\Java\jdk1.6.0_18\bin\javaw.exe

최종적으로는 위와 같이 고쳤다.

Xmx를 1536으로 했더니 오류가 난다.
1024로 설정해본다.

크리에이티브 커먼즈 라이센스
Creative Commons License
2010/04/18 13:17 2010/04/18 13:17

Trackback URL :

  1. # Software Engineering 2018/05/10 19:50 Delete Reply

    Thanhk you for this informative read, I have shared it
    on Twitter.

  2. # bong tai kim cuong GIA 2018/08/14 21:45 Delete Reply

    Hello there, just became alert to your blog through Google, and found that it is truly informative.

    I'm going to watch out for brussels. I will appreciate if you continue this in future.
    A lot of people will be benefited from your writing. Cheers!

  3. # 2018/08/15 21:10 Delete Reply

    Does your blog have a contact page? I'm having problems locating it but, I'd like to shoot you an e-mail.
    I've got some suggestions for your blog you might be interested in hearing.
    Either way, great website and I look forward to seeing it improve over time.

  4. # dao tao gia cong che tac da quy 2018/08/15 21:12 Delete Reply

    That is really fascinating, You are an overly
    skilled blogger. I have joined your feed and look ahead to
    in search of more of your great post. Also, I've shared your
    website in my social networks

  5. # nha cho thue 2018/08/15 21:18 Delete Reply

    Good day I am so glad I found your webpage, I really found
    you by accident, while I was researching on Askjeeve for something
    else, Anyhow I am here now and would just like to say thanks a
    lot for a tremendous post and a all round interesting blog (I also love
    the theme/design), I don't have time to look over it all at the moment but I
    have saved it and also included your RSS feeds, so when I have time I will be back to read a
    great deal more, Please do keep up the great work.

  6. # giá kim cương GIA 2018/08/15 21:26 Delete Reply

    These are genuinely wonderful ideas in regarding blogging. You have touched some good points here.
    Any way keep up wrinting.

  7. # Trang suc nhan kim cuong GIA 2018/08/17 16:09 Delete Reply

    Heya i am for the first time here. I found this board and I find It truly useful

  8. # cam nang khi mua kim cuong 2018/08/17 17:16 Delete Reply

    Remarkable! Its really awesome post, I have got much clear
    idea regarding from this paragraph.

  9. # nha cho thue 2018/08/17 17:24 Delete Reply

    I read this post completely regarding the resemblance of latest and earlier technologies,
    it's amazing article.

  10. # kim cuong GIA 2018/08/17 17:33 Delete Reply

    I love your blog.. very nice colors

  11. # 2018/08/17 17:37 Delete Reply

    hello!,I really like your writing very so much! proportion we keep in touch more about your article on AOL?
    I require an expert on this area to unravel my problem.
    Maybe that's you! Looking ahead to peer you.

  12. # Nhẫn kim cương 7ly2 2018/08/18 13:03 Delete Reply

    What's Going down i'm new to this, I stumbled upon this I've discovered It absolutely helpful and it has
    aided me out loads. I hope to contribute

  13. # mua ban nha mat tien quan 12 2018/08/19 16:26 Delete Reply

    I'm not sure where you're getting your information, however good topic.

    I must spend a while learning more or understanding
    more. Thank you for great information I used to be looking for this information for my mission.

  14. # Wilburn 2018/08/19 17:30 Delete Reply

    I feel that is among the such a lot vital info for me.

    And i'm happy studying your article. However wanna commentary on some general issues,
    The website style is perfect, the articles is really great : D.

    Excellent process, cheers

Leave a comment

« Previous : 1 : ... 57 : 58 : 59 : 60 : 61 : 62 : 63 : 64 : 65 : ... 504 : Next »

뚜는 지금.. 사랑해사랑해
아.. 열심히 살자..


전체 (504)
뚜.. 서툰.. (258)
폰 이야기 (13)
나의 길 (85)
읽을거리 (21)
사진갤러리 (124)

Recent Posts

  1. Android Studio 2.2 에서 layout 미리...
  2. mac 에서 ssh 접속시 한글 입력이 안될때.
  3. Android Studio. Zxing 라이브러리 사...
  4. 안드로이드 프로젝트를 SVN 등록시 bin...
  5. 안드로이드에서 android.annotation 를...

Recent Comments

  1. I like the helpful information you p... nha quan 12 can ban 08/19
  2. I feel that is among the such a lot ... Wilburn 08/19
  3. Today, I went to the beach with my k... zahn zusatzversicherung vergleich 08/19
  4. My brother recommended I might like ... 08/19
  5. I'm not sure where you're getting yo... mua ban nha mat tien quan 12 08/19

Recent Trackbacks


  2. c3cc3's Homepage
  3. 봄실
  4. 우중산보... 그 싱그러운 여유



google chart api graph

-30 days

today : 271

Site Stats

TOTAL 601616 HIT