View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000457 | Server | Server | public | 2022-12-21 14:01 | 2023-01-30 21:57 |
| Reporter | rww | Assigned To | |||
| Priority | immediate | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Summary | 0000457: Memory Leak - event.preventDefault(); in OnElementStreamIn event | ||||
| Description | First of all - this memory leak works only on Linux server (1.4.3) version. I tested also on Windows, here ram looks correct. | ||||
| Steps To Reproduce | Exact location of code causing memory leak:
Use Vortrex v-playerblips script to reproduce it (memory leak is only on Linux build). | ||||
| Tags | Linux, Server | ||||
| Game | |||||
|
|
|
|
|
Edited to use markdown code block |
|
|
The javascript and scripting uses garbage collection to free memory, this is managed by SpiderMonkey when used in javascript. You can force a garbage collection by using collectAllGarbage() in your script for testing the memory usage. https://wiki.gtaconnected.com/collectAllGarbage Do not call this function in your code though as you should allow the memory to be freed when efficient. The function exists for debugging purposes and for if a long operation is happening. It already gets invoked if a resource stops/starts/restarts. |
|
|
This is a non-issue. It's not a "memory leak". |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2022-12-21 14:01 | rww | New Issue | |
| 2022-12-21 14:01 | rww | Tag Attached: Linux | |
| 2022-12-21 14:01 | rww | Tag Attached: Server | |
| 2022-12-21 14:01 | rww | File Added: image.png | |
| 2022-12-21 14:06 | Vortrex | Steps to Reproduce Updated | |
| 2022-12-21 14:06 | Vortrex | Note Added: 0000322 | |
| 2022-12-21 14:09 | jack9267 | Note Added: 0000323 | |
| 2023-01-30 21:57 | Vortrex | Status | new => closed |
| 2023-01-30 21:57 | Vortrex | Resolution | open => fixed |
| 2023-01-30 21:57 | Vortrex | Note Added: 0000332 |