Hi,

I don't know what it could be, it works for me (on Mac OS X, 64 bit). Do
you use a 32 bit or 64 bit JVM (java -version should show you)? If 32 bit,
could you try with the other architecture if possible (java -d64 / -d32)?

Regards,
Thomas

On Wednesday, October 24, 2012, Artjoms Aminovs wrote:

> Hi folks !
>
>    I have question about nioMapped DB. My example down at 30' iteration.
>
> org.h2.jdbc.JdbcSQLException: IO Exception: "java.io.IOException";
> "split:30:nioMapped:D:/developing/test/cache.dat.h2.db" [90031-168]
>     at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
>     at org.h2.message.DbException.get(DbException.java:158)
>     at org.h2.message.DbException.convertIOException(DbException.java:315)
>     at org.h2.store.FileStore.sync(FileStore.java:416)
>     at org.h2.store.PageStore.writeVariableHeader(PageStore.java:947)
>     at org.h2.store.PageStore.setLogFirstPage(PageStore.java:941)
>     at org.h2.store.PageLog.removeUntil(PageLog.java:706)
>     at org.h2.store.PageStore.checkpoint(PageStore.java:434)
>     at org.h2.store.PageStore.commit(PageStore.java:1438)
>     at org.h2.engine.Database.commit(Database.java:1768)
>     at org.h2.engine.Session.commit(Session.java:450)
>     at org.h2.command.Command.stop(Command.java:148)
>     at org.h2.command.Command.executeUpdate(Command.java:259)
>     at
> org.h2.jdbc.JdbcPreparedStatement.execute(JdbcPreparedStatement.java:194)
>     at cache.H2Test.main(H2Test.java:46)
> Caused by: java.io.IOException
>     at java.nio.MappedByteBuffer.force0(Native Method)
>     at java.nio.MappedByteBuffer.force(Unknown Source)
>     at org.h2.store.fs.FileNioMapped.force(FilePathNioMapped.java:219)
>     at org.h2.store.fs.FileSplit.force(FilePathSplit.java:336)
>     at org.h2.store.FileStore.sync(FileStore.java:413)
>     ... 11 more
>
> OS : WIN 7 64bit, 8G RAM
> JVM :
> Java(TM) SE Runtime Environment (build 1.6.0_34-b04)
> Java HotSpot(TM) 64-Bit Server VM (build 20.9-b04, mixed mode)
>
> java -Xmx128M
>
> I'm new at H2 DB. If you have some ideas please answer.
>
>  --
> You received this message because you are subscribed to the Google Groups
> "H2 Database" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/h2-database/-/4qrzafirbd0J.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/h2-database?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to