- This topic has 10 replies, 8 voices, and was last updated 14 years, 11 months ago by
Gain.
-
AuthorPosts
-
Ufuk COBANMemberRun-time exception java.lang.OutOfMemoryError occurred during validation. The validator being run was JSP Validator and the message thrown was .
what validator can cause this? what is the solution?
October 10, 2005 at 3:42 am #239056
Brian FernandesModeratoratmuc,
Could you please post all the information requested in Posting Guidelines?
As a top off suggestion, increase the memory given to the JVM while starting eclipse use: eclipse.exe -vmargs -Xmx512m
Though we really need the above questions answered to address your issue correctly.
Best,
Brian.October 10, 2005 at 3:51 am #239057
Ufuk COBANMemberproject is a web application with additional features; hibernate,spring
i installed plugins: spring, wst, tptp*** Date: Mon Oct 10 11:47:32 EEST 2005
*** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.4.2_06*** MyEclipse details:
MyEclipse Enterprise WorkbenchVersion: 4.0.1 GA
Build id: 20050930-4.0.1-GA*** Eclipse details:
Eclipse SDKVersion: 3.1.1
Build id: M20050929-0840Eclipse Platform
Version: 3.1.1
Build id: M20050929-0840Eclipse Java Development Tools
Version: 3.1.1
Build id: M20050929-0840Eclipse Plug-in Development Environment
Version: 3.1.1
Build id: M20050929-0840Eclipse Project SDK
Version: 3.1.1
Build id: M20050929-0840Eclipse RCP
Version: 3.1.1
Build id: M20050929-0840Eclipse startup command=-data
O:\repository\pro_rec\eclipse
-os
win32
-ws
win32
-arch
x86
-launcher
O:\repository\programming\eclipse-3.1.1\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
b7c_38
-vm
C:\WINDOWS\system32\javaw.exeOctober 10, 2005 at 4:05 am #239058
support-eugeneMemberWhat toolsets were you using? (JSF, Struts, etc)
October 10, 2005 at 6:16 am #239068
Ufuk COBANMemberstruts and jstl
October 10, 2005 at 9:01 pm #239116
Scott AndersonParticipantEclipse probably really is legitimately running out of memory since the default heapsize for Java applications is quite small for such a large application. Can you try restarting Eclipse with these arguments and see if that remedies the problem:
eclipse.exe -vmargs -Duser.language=en -Xms128M -Xmx512MOctober 26, 2005 at 10:03 am #240145
Paul DevineMemberI’m frequently running into this problem. A friend of mine is too. I’ve been running with -Xms512M -Xmx768M, my friend runs with a heap up to 1Gb. I’m running Eclipse 3.1, MyEclipse 4.0.2. I haven’t tracked Eclipse memory usage over time. At this point I’m not sure what to do other than try disabling MyEclipse.
November 3, 2005 at 2:01 pm #240746
georgrafferMemberWe also have the OutOfMemoryError when using MyEclipse 4.02
It seems that compiling / validating a huge amount of jsps causes the problem.
Please fix this, I have to restart my eclipse multiple times a day.I’m currently using 768 MB of heap.
kind regards.
November 3, 2005 at 3:16 pm #240757
Scott AndersonParticipantAll,
The issue is often not the heap itself but the Perm space for classes. Please try these startup arguments:
eclipse.exe -vmargs -Duser.language=en -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128MThat should do the trick. Oh, and 4.0.3 had enhancements for JSP compilation so you should update if you haven’t already. Please see the announcement here: http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-9793.html
November 10, 2005 at 2:49 am #241222
Florian SimonMemberThank you that works perfect!
kind regards,
Georg Raffer
August 10, 2010 at 1:52 pm #310473
GainMemberThis is due to the fact that your workspace is overloaded. As a solution give a new workspace while starting MyEclipse and it should be fine.
-
AuthorPosts