Great! I've been having this same problem too when operating on a large
set of tables..

.eivind

On Mon, 1 Sep 2003, Frank Morjan wrote:

> Hi !
> 
> >   I'm trying to use middlegen to generate my ejb jar.My database is
> sqlserver,Application
> >   server is weblogic7. Database has 42 tables. It's all right for
> generating entity bean,
> >   generating interface, generating ejb jar.But at last when running
> weblogic.ejbc ,
> >   It runs for some time and then throws a java.lang.OutOfMemoryError.
> >   My computer's CPU is  Pentium IV 2.4G,Memmery is 256M.I increase the JVM
> heap,
> >   and it just takes longer.Show same error.
> 
> the problem is the ant task in config/ejb/weblogic.xml
> You must add the parameter "maxmemory" to the call of "java":
> 
> <java
>          classname="weblogic.ejbc"
>          fork="yes"
>          failonerror="true"
>          classpath="${weblogic.jar};${env.JAVA_HOME}/lib/tools.jar"
>          maxmemory="256m"
>       >
> 
> I hope this helps,
> 
> Frank
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> middlegen-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/middlegen-user
> 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
middlegen-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/middlegen-user

Reply via email to