[SQLiteJDBC] Problem with remote connection

vincenzo iafelice vincenzo.iafelice at gmail.com
Tue Mar 27 14:52:30 EDT 2012


 I don't think that the problem is memory size because i get the exception
as soon as i run the program (trying a simple connection).

Using JVM 64 bit, every kind of remote connection (localhost or remote)
fails.



Il giorno 27 marzo 2012 18:27, Christopher Bare <
Christopher.Bare at systemsbiology.org> ha scritto:

> Hi Vincenzo,
>
> Are you sure the problem has anything to do w/ your file being on a
> shared folder? You might try moving it to the local drive and trying
> again.
>
> It might be that using 64 bit is just taking up more memory. Try
> setting the JVM heap size with the -Xms, and -Xmx flags.
>
> If that doesn't work, it might be helpful to show a few lines of code
> and describe the scenario when the error appears.
>
> - Chris
>
>
> On Tue, Mar 27, 2012 at 8:50 AM, vincenzo iafelice
> <vincenzo.iafelice at gmail.com> wrote:
> > Hi guys,
> >
> > i have a big problem with a remote connection (database file in shared
> > folder).
> >
> > The program works fine running on JDK 1.6 32 bit,  but switching to JDK
> 1.6
> > 64 bit, i get this exception:
> >
> > java.sql.SQLException: out of memory
> >        at org.sqlite.DB.throwex(DB.java:288)
> >        at org.sqlite.NestedDB._open(NestedDB.java:73)
> >
> >
> > Please, anyone can help me?
> >
> > Thans a lot
> > vincenzo
> > _______________________________________________
> > SQLiteJDBC mailing list
> > SQLiteJDBC at lists.hcoop.net
> > https://lists.hcoop.net/listinfo/sqlitejdbc
>


More information about the SQLiteJDBC mailing list