The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Programming Languages
> Java Help
|
S1000 Data file size limit is reached in statement
Discuss S1000 Data file size limit is reached in statement in the Java Help forum on Dev Shed. S1000 Data file size limit is reached in statement Java Help forum discussing all Java platforms - J2ME, J2SE and J2EE - as well as relevant standards, APIs and frameworks such as Swing, Servlets, JSPs, Applets, Struts, Spring, Hibernate, ANT, EJB, and other Java-related topics.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

January 10th, 2013, 08:00 AM
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 1
Time spent in forums: 25 m 29 sec
Reputation Power: 0
|
|
|
S1000 Data file size limit is reached in statement
I am trying to troubleshoot an application that was written a few years ago and is no longer supported. It is a java application (I am new to java) and when it is run I get the following error.
S1000 Data file size limit is reached in statement(NSERT INTO
I only have the files in the directory where the program is launched:
diw.jar, diw.jnlp(launches application), diw_signed.jar, hsqldb.jar, idw-gpl.jar, sqljdbc.jar, swing-layout-1.0.jar, absolutelayout.jar, index.html, netbeanslibs.jnlp, netbeanslibsnew.jnlp
and
the resultant database files in the user's directory that are created when the application is run:
diw.properties, diwdb.data, diwdb.log, diwdb.properties, diwdb.script, hsqlprefs.dat
Through much searching on the internet I came across information that said cache_file_scale needed to be changed from its current setting of 1. But I do not know where to find this setting to change it or how to change it. Is there a default database that I need to connect to? Where would I find it and how do you connect? Am I at a loss because I do not have the initial development environment?
Can anyone help.
|

January 12th, 2013, 03:54 AM
|
 |
Daniel Schildsky
|
|
Join Date: Mar 2004
Location: KL, Malaysia.
|
|
|
Hsqldb
You may try to add some codes that execute DDL statements similar to the codes below into your program before any other SQL statements that caused this error is executed:
sql Code:
Original
- sql Code |
|
|
|
Stmt.execute( "SET PROPERTY \"hsqldb.cache_file_scale\" 8" ); Stmt.execute( "CHECKPOINT" );
I found this from some online resource. Try it out and see if it works.
__________________
When the programming world turns decent, the real world will turn upside down.
|

January 12th, 2013, 01:54 PM
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 1
Time spent in forums: 13 m 19 sec
Reputation Power: 0
|
|
|
S1000 Data file size limit is reached in statement
tvc3mye,
Thanks for the information.
I found the sql to create the the table in the sql jar file. could I insert the statement there? I tried to change the information in one of the jar files before and then put it back in the directory but got an error that it wasn't registered. Would I need to bring all of the files in the directory where the launch files are located into netbeans and then perform some sort of recompile?
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|