Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Change Eclipse Memory on Mac OS 10.4.4
Change Eclipse Memory on Mac OS 10.4.4 [message #222240] Sun, 15 January 2006 21:59 Go to next message
Eclipse UserFriend
Originally posted by: ad1054.verizon.net

I am developing automated image analysis tools with ImageJ using Eclipse,
but with large image files I am getting Out of Memory errors in the
Eclipse generated instance of ImageJ. I can run the plugins on an
independent ImageJ thread, but I can't use the great debugging features of
Eclipse that way. I have tried changing the eclipse.ini file from the
default of -Xms40m, -Xmx256m to -Xms256m, -Xmx512m, but I still get the
Out of Memory — All available memory (63MB) has been used error. I use a
Mac G5 dual 2.3 GHz 2 gig ram machine with OS 10.4.4 and java 1.4.2_09.
Any suggestions as to how I can change the memory so I can use Eclipse for
my larger programs would be greatly appreciated. I could find no useful
help on the ImageJ mailing list nor via Google. Is there anyone on this
planet (or another perhaps ;-) that can help me? Thanks in advance!
Re: Change Eclipse Memory on Mac OS 10.4.4 [message #222254 is a reply to message #222240] Mon, 16 January 2006 10:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ad1054.verizon.net

I found the answer! Sorry, it was not strictly an Eclipse issue -- the
eclipse.ini did indeed increase the Eclipse memory -- it was a default of
the ImageJ application. The solution was as follows:

right click the ImageJ class (under the JRE System Library in the Package
Explorer) and choose the menu entry run>run to open the configuration
dialog. In the Arguments tab use the VM arguments to set the memory:
-Xms256m -Xmx512m
add file comment to existing file [message #222431 is a reply to message #222240] Wed, 18 January 2006 13:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: user.domain.invalid

How can I add a file comment to an existing file?

When I create a new java file I get a file comment on the very first
rows of the file as expected.

Now I've defined the comment I want in the preferences but have already
created a bunch of java files before setting the preferences and want to
add the file comment to the existing files.

When I put the cursor on the first row and push Alt+Shift+J but then I
get a types comment before my class definition!

Have I missed something or is it a bug?

Regards
Gunnar
Re: add file comment to existing file [message #222465 is a reply to message #222431] Thu, 19 January 2006 03:52 Go to previous messageGo to next message
Eclipse UserFriend
user@domain.invalid wrote:
> Now I've defined the comment I want in the preferences but have already
> created a bunch of java files before setting the preferences and want to
> add the file comment to the existing files.

How about copy-paste?

Alternatively, you could define a template (in Java > Editor >
Templates) with your filecomment in it and insert the template (use
content assist) in every file.

-tom
Re: add file comment to existing file [message #222488 is a reply to message #222465] Thu, 19 January 2006 15:29 Go to previous message
Eclipse UserFriend
Originally posted by: user.domain.invalid

Tom Eicher wrote:
> user@domain.invalid wrote:
>> Now I've defined the comment I want in the preferences but have
>> already created a bunch of java files before setting the preferences
>> and want to add the file comment to the existing files.
>
> How about copy-paste?
>
> Alternatively, you could define a template (in Java > Editor >
> Templates) with your filecomment in it and insert the template (use
> content assist) in every file.
>
> -tom
Of cause I can do that, but assumed add javadoc should add the file
comment if the cursor is on the first line or at least on the package
statement. Another option would be to have a special command for adding
file comments.
/Gunnar
Previous Topic:Possible bug: Deprecated warning in deprecated class
Next Topic:quick fix create screen
Goto Forum:
  


Current Time: Sat Nov 08 20:25:02 EST 2025

Powered by FUDForum. Page generated in 0.57828 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top