ECJ-INTEREST-L Archives

November 2011

ECJ-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Date:
Thu, 10 Nov 2011 14:20:37 -0500
MIME-version:
1.0 (Apple Message framework v1084)
Reply-To:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Content-type:
text/plain; charset=iso-8859-1
Subject:
From:
Sean Luke <[log in to unmask]>
In-Reply-To:
Content-Transfer-Encoding:
8bit
Parts/Attachments:
text/plain (35 lines)
Looks like a bug in the OS X Java VM. 

	http://stackoverflow.com/questions/1297051/what-is-causing-the-java-vm-on-os-x-to-crash-with-invalid-memory-access-of-loca
	http://code.google.com/p/google-web-toolkit/issues/detail?id=3491

I think that 32 bits maxes out at 3GB, so you might try running something like

	java -server -d32 -Xmx3GB -Xms3GB ...

Sean

On Nov 10, 2011, at 1:03 PM, Rodrigo Barros wrote:

> Dear all,
> 
> I'm running ECJ on a macbook with OSX Lion (10.7.2), 8GB ram and Java 1.6.0_29.
> I have noticed that my app (a GA for evolving decision-tree parameters/components) crashes when running in large datasets (I get a "Invalid memory access of location" error). This is a bit strange because when I set the JVM to run in 32-bit mode (-d32) or in interpretable mode (-Xint) the GA works fine (though MUCH slower than 64bits normal mode).
> 
> Do you have any idea of what seems to be the problem? I don't think it's a hardware problem since I tested it on other computer and got the same error message (though it was also a computer running OSX). Perhaps there's a bug in memory management of OSX and 64bits JVM in applications running several threads??
> 
> Thank you in advance!
> 
> -- 
> Rodrigo Coelho Barros, MSc.
> PhD Student
> Bioinspired Computation Laboratory (BioCom)
> Department of Computer Science
> University of São Paulo at São Carlos (ICMC-USP)
> 
> www.icmc.usp.br/~rcbarros
> e-mail (1): [log in to unmask]
> e-mail (2): [log in to unmask]
> 
> mobile: +55 16 8138-3627

ATOM RSS1 RSS2