Issue
While attempting to post a large file using a REST service, the application halts, and the logs display the error message: java.lang.OutOfMemoryError: Java heap space.
Environment
- Mendix Cloud
- Mendix Application Performance Diagnostics (APD)
Cause
This is not related to the size of the file being posted.
The error arises from the creation of too many log nodes, which surpasses the application's available memory.
A log node is registered according to the previously established log level.
Solution/Workaround
To avoid unnecessary log nodes for the operation, the log level should be set as INFO or NONE in the log level configuration.
For applications using Mendix Application Performance Diagnostics (APD), a Support Ticket Request should be submitted to adjust the log levels.
Internal information related
- 221336
- IN-6614
- [Internal] How to exclude log nodes in the APD tool
0 Comments