Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Crash] System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Your system memory RAM hit the limit #986

Open
kalvaer opened this issue Jan 20, 2025 · 2 comments
Assignees

Comments

@kalvaer
Copy link

kalvaer commented Jan 20, 2025

System

UVtools v5.0.5 X64
Operative system: Microsoft Windows 10.0.26100 X64
Processor: 12th Gen Intel(R) Core(TM) i7-12700KF
Processor cores: 20
Memory RAM: 27.35 / 31.75 GB
Runtime: win-x64
Framework: .NET 9.0.0
AvaloniaUI: 11.2.3
OpenCV: 4.9.0

Path:       C:\Program Files\UVtools\
Executable: C:\Program Files\UVtools\UVtools.exe

Printer and Slicer

  • Printer: Elegoo Mars 4 Ultra
  • Slicer: ChituBox Basic V2.3

Description of the bug

System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Your system memory RAM hit the limit of 31.24GB from a total of 31.75GB.  Available: 0.51GB.  UVtools: 24.98GB (78.68%).
The program crashed on purpose due the impossibility to pause or cancel the running operation, this was to relief pressure and ensure the system stability.

Monitor your memory RAM under the system tools and re-run the operation to check the usages and find the cause.
You may need to stop other processes or increase your memory RAM in order to deal with huge files and/or heavy operations.

Currently you have configured a lower limit of 1GB of available memory RAM for the operations.)
 ---> System.InsufficientMemoryException: Your system memory RAM hit the limit of 31.24GB from a total of 31.75GB.  Available: 0.51GB.  UVtools: 24.98GB (78.68%).
The program crashed on purpose due the impossibility to pause or cancel the running operation, this was to relief pressure and ensure the system stability.

Monitor your memory RAM under the system tools and re-run the operation to check the usages and find the cause.
You may need to stop other processes or increase your memory RAM in order to deal with huge files and/or heavy operations.

Currently you have configured a lower limit of 1GB of available memory RAM for the operations.
   at UVtools.UI.MainWindow.<>c__DisplayClass57_0.<RamUsageTimerOnElapsed>b__0() in UVtools.UI\MainWindow.axaml.cs:line 518
   at Avalonia.Threading.DispatcherOperation.InvokeCore()
   --- End of inner exception stack trace ---
Category: Task
File: Basic.stl_0.05_2.5_2025_01_20_00_56_00.ctb  [Version: 5] [Class: CTBEncryptedFile]

Machine date time: 20 Jan 2025 01:11:48
    UTC date time: 20 Jan 2025 00:11:48

How to reproduce

  1. Open file
  2. Click Calibration -> Stress Tower
  3. Default Settings.
  4. Click Stress Tower on the bottom
  5. Click Yes to generate tower

(Tried using files from different slicers, but the same thing happens)

Files

Image
Image

Copy link

This is your first time submitting an issue with UVtools 🥳Please review your issue and ensure that the submit template was followed, the information is complete, and not related to any other open issue. It will be reviewed shortly. Debugging is very important and make the program better. Thanks for contributing and making the software better! 🙌

@sn4k3
Copy link
Owner

sn4k3 commented Jan 20, 2025

Stress tower uses very memory.
You can disable the protection on UVtools settings.
Read error message...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants