Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Beginning Java
Search Coderanch
Advance search
Google search
Register / Login
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Beginning Java
Java heap error
Peter Warde
Ranch Hand
Posts: 71
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
After doing a lot of compiling with
Ant
I get a build failed with a message about the heap. What's this and how can I fix it?
Nischal Tanna
Ranch Hand
Posts: 182
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Can u post ur exception stack trace?... also if nething abt heap is being complained... it may be coz u may be declaring number of Objects in loop???....
Thnx
Peter Warde
Ranch Hand
Posts: 71
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
This is my output in my Ant build.xml file. How do I increase the heap size? Thanks Peter
null
ParameterImpl instances: 0
MethodImpl instances: 0
ConstructorImpl instances: 0
SimpleNode instances: 0
SourceClass instances: 0
XDoc instances: 0
DefaultXTag instances: 0
BinaryClass instances: 0
UnknownClass instances: 0
Total memory: 155
Free memory: 94
Try to increase heap size. Can be done by defining ANT_OPTS=-Xmx640m
See the JDK tooldocs.
/home/dev/autosalvage/claimcentrephase4/autosalvage-projects/common/components/uidgen-ejb/build.xml:76: null
BUILD FAILED (total time: 4 seconds)
Peter Warde
Ranch Hand
Posts: 71
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi
I've posted this to the ANT, Maven and other build tools forum as I think it is more appropriate there.
Peter
Don't get me started about those stupid
light bulbs
.
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Ant - Try to increase heap size error
enterprize java bean (ant installation)
How do I handle Build Failure in Ant?
java.io.IOException: CreateProcess: make error=2
Launch ant from cygwin
More...