View Single Post
07-20-16, 12:55 PM   #1
lightspark
A Rage Talon Dragon Guard
 
lightspark's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2012
Posts: 341
Memory issues and GetItem* functions

Hi!

There's an issue with GetItemInfo and other item functions, that use item IDs. Passing big integers to these functions causes memory issues.

For example, this call
Lua Code:
  1. GetItemInfo(1234567890)
increased memory usage up to 5-6GB.



Further GetItemInfo calls, even GetItemInfo(1), hogged even more memory, and eventually crashed the client.

When client crashed I got a window saying
Not enough memory. Please refer to https://battle.net/support/article/6926 to find out how to reduce your memory usage
__________________

Last edited by lightspark : 07-20-16 at 01:05 PM.