• Post Reply 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
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

Interesting Ant problem

 
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hopefully someone has seen this before. When I try to run Ant, my PC locks up. It doesn't even respond to ctrl-alt-del. It recognizes the build file and seems to lock up before making directories. I am running it on a Celeron 300 with 64MB. My OS is Windows 98.
 
Saloon Keeper
Posts: 24499
167
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Probably because you OS is Windows 98
Well, actually, that's the reason it locked up so tight (I spend more time rebooting 98 than I do using it, some days). However, 64MB of RAM isn't really going to do it. For Java, 128 MB minimum, and if you intend to debug within an IDE, 256MB. Java is a PIG.
Fortunately, the price of DIMMs seems to be on the way down again. As is the cost of a new CPU if you either have a pre-DIMM motherboard or otherwise can't do the IBM (Install Bigger Memory) trick.
 
mister krabs
Posts: 13974
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you have any idea which ANT task is locking up the PC?
 
Matthew Phillips
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am guessing that it locks up on the mkdir task, since that is the first task it performs. I have run the same build file on another PC (with Windows 2000 and 256MB) and it runs perfectly. I tend to agree that it may be a memory issue, but I am not completely convinced since I have had no problem running other java apps.
 
Ranch Hand
Posts: 776
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try putting in some <echo ....../> tasks to trace down where it fails.
About 3-4 months ago I was running Java and Ant builds on a 64M PIII-600 ( not '98). It was not speedy, but things worked. I tend to agree that more RAM is not the answer.
Regards, Guy
[ April 23, 2002: Message edited by: Guy Allard ]
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic