Hello,
I have just noticed a problem on my server, when I try to display the report of a day or several days which contains several data my server spits out and takes time to return and it shows me this error (500 - Server Error) in the end without show me the report and at the same time the device goes offline and comes back online
Here is the information it displays in the log:
2024-03-18 03:00:38 WARN: /api/positions - Java heap space - OutOfMemoryError
2024-03-18 03:00:38 WARN: unhandled due to prior sendError - Java heap space - OutOfMemoryError
My server config is Ubuntu 20.04.6 LTS ,1 GB RAM, 2 vCPUs and traccar version 5.12.
How can fix?
The error message in the log is pretty clear - you ran out of memory.
@Anton Tananaev So this means that I have to increase the RAM memory of my server?
Probably yes, but it also probably suggests that you're trying to extract a massive amount of data.
I don't understand when you say try to extract a massive amount of data.
I mean the number of location records.
Hello,
I have just noticed a problem on my server, when I try to display the report of a day or several days which contains several data my server spits out and takes time to return and it shows me this error (500 - Server Error) in the end without show me the report and at the same time the device goes offline and comes back online
Here is the information it displays in the log:
My server config is Ubuntu 20.04.6 LTS ,1 GB RAM, 2 vCPUs and traccar version 5.12.
How can fix?