-launcher.MaxPermSize 를 높여주고 잘 쓰고 있다가

오늘 다시 뻗어버리는 현상이 나타나게 되었다.

이것이 Eclipse 3.3.1 버전의 런처가  Sun VM 을 인식못하는 버그가 있다는 사실을 알아냈다. (http://wiki.eclipse.org/FAQ_How_do_I_increase_the_permgen_size_available_to_Eclipse%3F)
http://kimkijeung.com/tag/eclipse%203.3.1%20bug 에서 발췌


이 현상과 유사한 것 같아서

vm을 직접 넣어주는 방식으로 변경하였다.

-showsplash
org.eclipse.platform
-vm
C:\develop\Java\jdk1.6.0\bin\javaw.exe
-vmargs
-Xms256M
-Xmx512M
-XX:PermSize=128M
-XX:MaxPermSize=512M


java.exe. 대신 javaw.exe 로 쓰고..

작업관리자에서 eclipse 프로세스와 별개로 javaw 프로세스가 뜨는 것 말고는 괜찮은 것 같다.

잘되야할텐데..
크리에이티브 커먼즈 라이선스
Creative Commons License
Posted by 허혁

댓글을 달아주세요:: 네티켓은 기본, 스팸은 사절

퇴근 시간이 임박해서..
한 친구가 찾아와 이클립스에서 자체 메모리 관련 관리 기능이 있냐고 물어보았다.

으흠 내 기억에는 없는데..

그럼 플러그인 인을 찾아보자 

kyrsoft에서 open source로 이클리스 플러그인을 공개했는데

Eclipse Status Monitor PluginEclipse Memory Monitor Plugin 이 두가지이다.

두가지 플러그인의 차이점은 view Component로 화면에 보이느냐 Status Bar Component로 보이느냐?

정도의 차이밖에 없다.

자동 GC나 강제 GC 기능 역시 동일하다.
그래도 Memory Monitor의 경우 log가 남기는 하다..

사용법도 쉽고 생각보다 요긴한 기능이기에

로그를 남긴다.

자세한 사항은 좀더 사용해본 이후 에 남겨야겠다.
크리에이티브 커먼즈 라이선스
Creative Commons License

'direct' 카테고리의 다른 글

Mac Mini And Leopard And Home Theater  (2) 2007/11/12
Eclipse Status Monitor Plugin  (0) 2007/10/12
Mary Poppendieck and Tom Poppendieck  (0) 2007/09/13
Smart and gets thind done  (0) 2007/09/10
Posted by 허혁

댓글을 달아주세요:: 네티켓은 기본, 스팸은 사절

아직은 예정사항일 뿐이지만

세세한 설명이 없다는 것을 알게되었습니다.

직접 부딪혀보면서 찾아보겠습니다.

To be continue...
크리에이티브 커먼즈 라이선스
Creative Commons License
Posted by 허혁

댓글을 달아주세요:: 네티켓은 기본, 스팸은 사절

출처 : Eclipse WTP newgroups
1. 일단 톰캣 서버에 프로젝트를 디플로이 한다. (Add and Remove Projects를 이용해서 Webapp 등록)
2. 등록한 톰캣 서버을 더블클릭해서 설정창(에디트)을 연다.
3. 설정창(에디트창) 왼쪽 하단부의 Modules 탭을 눌러 웹 모듈 편집 화면으로 간다.
4. 원하는 모듈 선택 후 Edit.. 버튼을 눌러 팝업된 창의 Path 부분을 말끔히 지운다.
5. 설정을 저장하고 닫는다.
6. Webapp의 프로젝트로 가서 오른쪽 버튼을 누른 뒤 Run As 항목의 Run on Server을 누른다.
7. 등록한 톰캣 서버를 선택하고 Next를 두번 누른다.
8. "Update context root for Web module" 의 체크를 푼다음 Finish

이제 서버는 Publishing을 할 것이며 화면에는 우리가 원하는데로 루트에 우리의 웹어플을 붙일 수 있게 되었다.

1. Leaving the context-root setting in the project as is (i.e. don't try to set it to "/"), deploy the project to the Tomcat server.

2. Double-click on the Tomcat server in the Servers view to open the configuration editor.

3. Switch to the Modules page of the editor and select the web module for the project.

4. Click the "Edit..." button, clear the Path field, and click OK.

5. Save the Tomcat configuration and close the editor.

6. Right-click on the project in a navigator or a resource in the web module and select Run As -> Run on Server.

7. Select the server to which the project was previously added and click Next.

8. Click Next again. Uncheck the "Update context root for Web module..." checkbox and click Finish. This will add a setting that prevents the change made in step 4 from being overwritten by the project's context-root setting. The browser should appear with the correct default webapp appropriate URL.

크리에이티브 커먼즈 라이선스
Creative Commons License

'transmissive' 카테고리의 다른 글

노트 필기법  (0) 2007/05/09
어떻게 문제를 풀것인가?  (0) 2007/05/09
블로그 검색 나루  (0) 2007/05/07
Eclipse WTP: Webapps make ROOT Context in Server  (0) 2007/02/22
Posted by 허혁

댓글을 달아주세요:: 네티켓은 기본, 스팸은 사절


BLOG main image
안녕하세요. 안정된 코딩, 여유로운 프로젝트, 떠오르는 코더 by 허혁

카테고리

분류 전체보기 (88)
direct (50)
indirect (21)
transmissive (10)
agenda (4)
idea (3)

달력

«   2008/07   »
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

최근에 달린 레몬펜 쪽지

Statistics Graph
Creative Commons License

이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-동일조건변경허락 2.0 대한민국 라이선스에 따라 이용하실 수 있습니다.