I'm working on a project with Michael Gargano and one of the projects have a 
space in the middle of its name. The project also have a space in its name at 
the file system level. If I don't remove the space on my machine, I get:

> Caused by: java.lang.OutOfMemoryError: Java heap space
>   at java.util.Arrays.copyOf(Arrays.java:2882)
>   at 
> java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
>   at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:572)
>   at java.lang.StringBuilder.append(StringBuilder.java:203)
>   at java.io.UnixFileSystem.resolve(UnixFileSystem.java:93)
>   at java.io.File.<init>(File.java:312)
>   at 
> com.webobjects.appserver._private.WODeployedBundle._newPreloadAllResourcesInSubDirectory(WODeployedBundle.java:289)
>   at 
> com.webobjects.appserver._private.WODeployedBundle._newPreloadAllResourcesInSubDirectory(WODeployedBundle.java:297)
>   at 
> com.webobjects.appserver._private.WODeployedBundle._newPreloadAllResourcesInSubDirectory(WODeployedBundle.java:297)
>   at 
> com.webobjects.appserver._private.WODeployedBundle._newPreloadAllResourcesInSubDirectory(WODeployedBundle.java:297)
>   at 
> com.webobjects.appserver._private.WODeployedBundle._newPreloadAllResourcesInSubDirectory(WODeployedBundle.java:297)


After some debugging, I saw that _newPreloadAllResourcesInSubDirectory was 
trying to go into each directory at the top of my drive (the first file that I 
saw was /.fseventsd). Removing the space in both the project name and in the 
file system fix the problem.

Now, Michael can indeed launch the project without having to rename the 
project. I did remember that months ago, someone said that projects shouldn't 
have spaces in their name, but since it's working for Michael, I don't know why 
it's working for him and not for me. WO 5.4.3, Eclipse 3.6.2 and WOLips 
3.6.6218. _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to