Re: MD forgets reconcile

Jaap van Dodeweerd <[email protected]> Sat, 23 Jun 2012 20:44:22 +0200
Newsgroups gmane.comp.finance.moneydance.general
Message-ID <[email protected]>
Goodnight!!

On 22 jun. 2012, at 17:20, Lewis G Rosenthal wrote:

> Good morning...
> 
> On 06/22/12 05:24 am, Dave Saville thus wrote :
>> On Thu, 21 Jun 2012 18:13:12 -0400 Lewis G Rosenthal wrote:
>> 
> <snip>
>>> 
>>> (the above from java.exe -version)
>>> 
>>> Also, what are you using in your cmd file to start MD insofar as java
>>> configuration is concerned? Maybe we're running out of heap space? So
>>> far, I've been okay with -mx512m:
>>> 
>>> '@' || jbin' -mx512m -cp
>>> 'mdbin'moneydance.jar;'mdbin'appsrc.jar;'mdbin'jcommon-1.0.16.jar;'mdbin'jfreechart-1.0.13.jar;'mdbin'tablelayout.jar
>>> 
>>> Moneydance'
>>> 
>>> Compare that to what you're using. For the record, I have *not* seen
>>> this type of data file corruption with 2011r2 (803).
>> 
>> Two differences - three actually but will get to that, I don't have
>> the -m set at all and mdbin is not there - I chdir to the MD directory
>> first and in fact the line that sets it produces nothing ie mdbin = ''
>> 
> The complete code in my script is:
> 
> /* */
> parse source . . thiscmd
> 
> jbin = 'c:\Java160\bin\java.exe'
> classpath = ''
> 
> /* find out the directory of this command file */ 
> mdbin = filespec('drive', thiscmd)||filespec('path', thiscmd) 
> 
> /* run the application */
> '@' || jbin' -mx512m -cp
> 'mdbin'moneydance.jar;'mdbin'appsrc.jar;'mdbin'jcommon-1.0.16.jar;'mdbin'jfreechart-1.0.13.jar;'mdbin'tablelayout.jar
> Moneydance'
> return rc
> 
> The -mx512m is older style (-Xmx512m is newer) for setting the maximum
> java heap. The option is -Xmx:
> 
> {0}[c:\java160\bin] java -X
>    -Xmixed           mixed mode execution (default)
>    -Xint             interpreted mode execution only
>    -Xbootclasspath:<directories and zip/jar files separated by ;>
>                      set search path for bootstrap classes and resources
>    -Xbootclasspath/a:<directories and zip/jar files separated by ;>
>                      append to end of bootstrap class path
>    -Xbootclasspath/p:<directories and zip/jar files separated by ;>
>                      prepend in front of bootstrap class path
>    -Xnoclassgc       disable class garbage collection
>    -Xincgc           enable incremental garbage collection
>    -Xloggc:<file>    log GC status to a file with time stamps
>    -Xbatch           disable background compilation
>    -Xms<size>        set initial Java heap size
>    -Xmx<size>        set maximum Java heap size
>    -Xss<size>        set java thread stack size
>    -Xprof            output cpu profiling data
>    -Xfuture          enable strictest checks, anticipating future default
>    -Xrs              reduce use of OS signals by Java/VM (see
> documentation)
>    -Xcheck:jni       perform additional checks for JNI functions
>    -Xshare:off       do not attempt to use shared class data
>    -Xshare:auto      use shared class data if possible (default)
>    -Xshare:on        require using shared class data, otherwise fail.
> 
> The -X options are non-standard and subject to change without notice.
> 
> I think newer JVMs respect the older syntax.
>> I said a third - I have multiple *.md files. My main one and a couple
>> of really small ones. As this lives on my laptop I have a modified
>> script that:
>> 
>> PGP decrypts a tar file of all the *.md files
>> Invokes MD
>> Tars up the *.md files
>> PGP encrypts them
>> Multiple overwrites of the *.md files with changing bit pattens.
>> 
>> I have done this for years. But half the time I open MD it is to check
>> something "when did we buy the electric kettle that just failed?" and
>> I got fed up with having to put the pass phrase in to re encrypt so
>> yesterday I added code to check the number of *.md files their size
>> and date and only reencrypt if something changes - the *md files still
>> get wiped of course.
> I don't see anything here which would cause you to lose a partial file.
> 
> I think more on this, but try setting the max (or initial) java heap and
> see how that does, perhaps.
> 
> -- 
> Lewis
> -------------------------------------------------------------
> Lewis G Rosenthal, CNA, CLP, CLE, CWTS
> Rosenthal & Rosenthal, LLC                www.2rosenthals.com
> Need a managed Wi-Fi hotspot?                www.hautspot.com
> visit my IT blog                www.2rosenthals.net/wordpress
> please do not add my address to any non-bcc mass mailings
> -------------------------------------------------------------
> 
> _______________________________________________
> For Moneydance customer support, please visit http://help.infinitekind.com
> [email protected]
> http://moneydance.com/mailman/listinfo/moneydance-info

_______________________________________________
For Moneydance customer support, please visit http://help.infinitekind.com
[email protected]
http://moneydance.com/mailman/listinfo/moneydance-info