overextended / ox_inventory

Slot-based inventory with metadata.
https://overextended.dev/ox_inventory
GNU General Public License v3.0
460 stars 700 forks source link

FPS Drops when opening inventory too many times #1773

Open LRondMcBong opened 2 months ago

LRondMcBong commented 2 months ago

Describe the bug A clear and concise description of what the bug is.

Framework ESX

Resource version 2.42.0

To Reproduce Steps to reproduce the behavior:

  1. Open inventory
  2. Close inventory
  3. repeat a fiew times (100+)
  4. watch FPS dropping

Expected behavior FPS not dropping when opening inventory

Screenshots If applicable, add screenshots to help explain your problem.

Additional context You get significant FPS drops when opening the inventory 100+ Times within one Sessoion. Can be solved by just relogging. Annoying for those who need to interact very often with the inventory.

thelindat commented 2 months ago

My FPS is unaffected after ~10m of opening the inventory in a loop.