Moneydance freezing in Ubuntu

Greg Breslin's Avatar

Greg Breslin

05 Dec, 2023 03:28 AM

HI,
Too often Moneydance freezes, especially after just opening.
If I start it on the laptop and then immediately move it to the second monitor, it can freeze. I've occasionally wondered if it's because it's busy doing the graphs on the main page when it is moved.
Today it froze for no good reason on opening, it seemed to me. Usually, if I click on close close close enough times, Ubuntu will shut it down but it took too long for me today so I shut down the computer. I looked in the file system report for Moneydance but I did not recognise it and would have tried to shut it down there.
I do know that today, all 8 processors were at or near 100%. Please comment on this. This happens reasonably often. Thanks Greg Breslin

  1. 1 Posted by dwg on 05 Dec, 2023 03:38 AM

    dwg's Avatar

    I would suggest after this happens but before you reopen Moneydance you capture and post your Moneydance error log, you should find it at ~/.moneydance/errlog.txt

  2. 2 Posted by Greg on 05 Dec, 2023 03:44 AM

    Greg's Avatar

    Thanks. Could you make my request 'Private' please? :) Greg

    On 5/12/23 1:38 pm, dwg wrote:

  3. 3 Posted by Greg on 05 Dec, 2023 03:45 AM

    Greg's Avatar

    ...or at least make my email address private Thanks again. Greg

    On 5/12/23 1:38 pm, dwg wrote:

  4. 4 Posted by Greg on 05 Dec, 2023 03:46 AM

    Greg's Avatar

    Also, sorry, my email address is now [email blocked]. The
    Internode address is most temporary. Yours, Greg Breslin

    On 5/12/23 1:38 pm, dwg wrote:

  5. 5 Posted by dwg on 05 Dec, 2023 03:52 AM

    dwg's Avatar

    The email addresses are not visible to the public, the Tender software, should you have it so configured, will email any posted responses to your question to the email address it has in your profile.

    Only you (the owner of the post) or support staff can made a thread private.

  6. 6 Posted by Greg on 05 Dec, 2023 03:56 AM

    Greg's Avatar

    Thank you. Just interested that email address not visible. No
    problem. Greg

    On 5/12/23 1:52 pm, dwg wrote:

  7. 7 Posted by dwg on 05 Dec, 2023 04:08 AM

    dwg's Avatar
  8. 8 Posted by Greg Breslin on 11 Dec, 2023 11:59 AM

    Greg Breslin's Avatar

    Following on from correspondence about Moneydance freezing periodically, I have an error log but when I click on 'Browse' nothing happens. So I don't know how to attach the file here. Thanks Greg Breslin

  9. 9 Posted by dwg on 11 Dec, 2023 12:02 PM

    dwg's Avatar

    browser should open a window that allows you to locate the file on you computer and attach it to the thread.

  10. 10 Posted by Greg on 11 Dec, 2023 12:03 PM

    Greg's Avatar

    Yes it should but nothing happens. Firefox. Thanks, Greg

    On 11/12/23 10:02 pm, dwg wrote:

  11. 11 Posted by Greg Breslin on 11 Dec, 2023 12:11 PM

    Greg Breslin's Avatar

    Hi, Here is the error log for Moneydance. Thanks, Greg Breslin

    Starting Moneydance 2023.3 (5064) at Mon Dec 11 21:36:21 AEST 2023
    Settings Folder: /home/greg/.moneydance
    OS: Linux 6.2.0-37-generic amd64
    Architecture: intel64
    Java: 21 (Eclipse Adoptium)
    Is in sandbox: false; restricted file access: false
    Library path: /usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib
    initialized extension moneyforesight in 0.008 seconds
    initialized extension balpred in 0.007 seconds
    findandreplace (0): 12-11 21:36:21.248|Initialized build 1217 ok
    initialized extension findandreplace in 0.019 seconds
    Font initialisation attempted from non-UI thread. Hopping over to dispatch thread...
    Initializing fonts:
      default: [[Dialog]]
      printing: [[Dialog]]
      monospaced: [[Monospaced]]
      coding: [[Hack, Monospaced]]
    fonts resolved:
     default: Dialog:15.0:style0
     mono: Monospaced:15.0:style0
     coding: Hack:15.0:style0
     print: Dialog:12.0:style0
     header: Dialog:17.0:style0
     register: Dialog:14.0:style0
     reportTitle: Dialog:32.0:style0
     calendarTitle: Dialog:14.0:style0
     reportHeader: Dialog:13.0:style0
     detailTitle: Dialog:17.0:style0
    Setting look and feel class to javax.swing.plaf.metal.MetalLookAndFeel
    Font initialisation attempted from non-UI thread. Hopping over to dispatch thread...
    opening last file: Finances13August2023
    loading dataset: /home/greg/.moneydance/Documents/Finances13August2023.moneydance
    loading with 128 bit encryption key
    reading trunk data tiksync/trunk
    trunk data loaded (0.245 seconds), checking for incremental updates
    loading un-synced txn files...
     reading txn file 20231211112744_614.txn
     reading txn file 20231211111951_470.txn
     reading txn file 20231211112320_664.txn
     reading txn file 20231211112541_712.txn
     reading txn file 20231211112733_216.txn
     reading txn file 20231211112612_985.txn
     reading txn file 20231211111902_381.txn
     reading txn file 20231211112843_547.txn
     reading txn file 20231211112642_652.txn
     reading txn file 20231211112853_803.txn
     reading txn file 20231211112628_153.txn
     reading txn file 20231211112005_888.txn
     reading txn file 20231211112138_260.txn
    loading synced txn files...
    replacing root: null () with new root: My Finances (7c353e06-d03e-432e-af10-ece949ab69ec
    Scheduling next reminders auto-commit for Mon Dec 11 21:36:27 AEST 2023 (was previously scheduled for Thu Jan 01 10:00:00 AEST 1970)
    MDPlus status undetermined or not activated
    Performing periodic reminders autocommitting on Finances13August2023 at Mon Dec 11 21:36:32 AEST 2023
    Scheduling next reminders auto-commit for Tue Dec 12 00:36:32 AEST 2023 (was previously scheduled for Thu Jan 01 10:00:00 AEST 1970)
    Update info received with successful signature verification
    Version info retrieved; we are up to date!
    java.lang.OutOfMemoryError: Java heap space
    at java.base/java.util.Arrays.copyOf(Unknown Source)
    at java.base/java.util.concurrent.CopyOnWriteArrayList.add(Unknown Source)
    at com.moneydance.apps.md.controller.BackgroundOpsThread.scheduleAutoSaveInSecondsFromNow(BackgroundOpsThread.java:122)
    at com.moneydance.apps.md.controller.BackgroundOpsThread$AutoSaveTask.run(BackgroundOpsThread.java:222)
    at com.moneydance.apps.md.controller.BackgroundOpsThread.run(BackgroundOpsThread.java:192)
    Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
    at java.base/java.util.Calendar.<init>(Unknown Source)
    at java.base/java.util.GregorianCalendar.<init>(Unknown Source)
    at java.base/java.util.Calendar$Builder.build(Unknown Source)
    at java.base/sun.util.locale.provider.CalendarProviderImpl.getInstance(Unknown Source)
    at java.base/java.util.Calendar.createCalendar(Unknown Source)
    at java.base/java.util.Calendar.getInstance(Unknown Source)
    at org.jfree.chart.axis.DateTickUnit.addToDate(DateTickUnit.java:238)
    at org.jfree.chart.axis.DateAxis.refreshTicksHorizontal(DateAxis.java:1685)
    at org.jfree.chart.axis.DateAxis.refreshTicks(DateAxis.java:1556)
    at org.jfree.chart.axis.ValueAxis.drawTickMarksAndLabels(ValueAxis.java:695)
    at org.jfree.chart.axis.DateAxis.draw(DateAxis.java:1851)
    at org.jfree.chart.plot.XYPlot.drawAxes(XYPlot.java:3644)
    at org.jfree.chart.plot.XYPlot.draw(XYPlot.java:3166)
    at org.jfree.chart.JFreeChart.draw(JFreeChart.java:1235)
    at org.jfree.chart.ChartPanel.paintComponent(ChartPanel.java:1668)
    at java.desktop/javax.swing.JComponent.paint(Unknown Source)
    at java.desktop/javax.swing.JComponent.paintToOffscreen(Unknown Source)
    at java.desktop/javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
    at java.desktop/javax.swing.RepaintManager.paint(Unknown Source)
    at java.desktop/javax.swing.JComponent._paintImmediately(Unknown Source)
    at java.desktop/javax.swing.JComponent.paintImmediately(Unknown Source)
    at java.desktop/javax.swing.RepaintManager$4.run(Unknown Source)
    at java.desktop/javax.swing.RepaintManager$4.run(Unknown Source)
    at java.base/java.security.AccessController.executePrivileged(Unknown Source)
    at java.base/java.security.AccessController.doPrivileged(Unknown Source)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at java.desktop/javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
    at java.desktop/javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
    at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    Beginning shutdown process
    waiting for background tasks to complete...
    Compacting old transaction logs
    backing up file...
    saving automatic backup file: /home/greg/.moneydance/archive/backups/Finances13August2023.2023-12-11.moneydancearchive
    finished backing up file; now to remove expired backups...
    completed removal of expired backups
    Tasks complete. Goodbye!

  12. 12 Posted by Stuart Beesley ... on 11 Dec, 2023 02:49 PM

    Stuart Beesley (Mr Toolbox)'s Avatar

    Your MD JVM session appears to be out of memory. This is odd as with 5064 the vmoptions have been improved to use 80% of all available memory.

    Is it possible that your default install locations have changed? Or that the Moneydance.vmoptions file has not been created properly.

    Please do this.

    1/ install toolbox extension and then run it. Go to general tools. Show vmoptions. Two finder windows will appear and also a popup text help screen. Grab the output and upload here.

    2/ grab a new help/console and upload that here too.

  13. 13 Posted by derekkent23 on 11 Dec, 2023 02:52 PM

    derekkent23's Avatar

    I am not support staff, just a user.
    Hi Greg

    First check under EXTENSION – MANAGE EXTENSIONS that all Extensions are up to date.
    The error log seems to suggest not enough RAM is allocated to Moneydance
    java.lang.OutOfMemoryError: Java heap space
    which if not due to outdated extensions is strange as 2023.3(5064) increases max memory available to Moneydance.
    Download a preview build of the Extension Toolbox
    https://yogi1967.github.io/MoneydancePythonScripts/
    and install toolbox.mxt by dragging it into Moneydance’s Side Bar, list on left and accept warnings. Run Toolbox under Extensions and note at the bottom of the window note the values in the line starting VM Memory.
    Click on MENU: Advanced Options and select View Java VM Option File (only when exists) – PROCEED and have a read.

    Hope this helps.

  14. 14 Posted by Teddie on 11 Dec, 2023 03:03 PM

    Teddie's Avatar

    Hi Derek,
    I'll check it out in the morning (currently 1.01am :slightly_smiling:).
    I'm not much of a tech but the replies are very interesting. Thanks, Greg

    On Tue, Dec 12, 2023, 12:52 AM derekkent23 <[email blocked]>
    wrote:

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac