rearley / ebay

Ebay API PHP Client Library
http://www.rickearley.me
8 stars 3 forks source link

Running out of memory #3

Closed tmatei closed 10 years ago

tmatei commented 10 years ago

@rearley I'm using your code and doing a max number of API requests 100 pages x 100 items. Each iteration I'm calling findItemsByCategory($request) with the request created once before the for loop and increasing the paginationInput->pageNumber. Unfortunately I keep running out of memory going past 134MB, so there seems to be a memory leak somewhere.

While debugging I believe I may have traced it down to the XmlParser.php that doesn't seem to clean up properly. Got any ideas what may be happening?

rearley commented 10 years ago

Thank you for letting me know of this issue. You mentioned a file called xmlparser.php that is not in my library.

tmatei commented 10 years ago

sorry wrong project.