-
Notifications
You must be signed in to change notification settings - Fork 17
Memory exhausted while uploading a large torrent #1
Comments
It may mistake to closed this issue in last commit which change our Bencode library. Though this torrent (Large torent test.zip) May invalid. Why I say
|
In fact, NexusPHP has every uploaded torrent file verified. It uses a set of recursive functions to encode/decode bencoded files. It looks not that elegant but really works out on most occasion. |
That specific torrent file is valid except trailing new line. That new line (0x0a, aka CR) is automatically added by vim on saving file after I changed the announce URL of that torrent. In fact, sandfoxme/bencodec/Engine/Decoder.php#L103 has a clear notice about that. It's not big deal and can be simply ignored. Still working on memory exhausting issue. |
After discuss in #1 (comment) , It is still necessary to check if the upload torrent valid or not.
Initialize DynamicConfig Only When Table item is not exist and The Config Component is in Worker #1
It does not seem to reappear after commit 4413b46 , Though I think this issues fixed before the release With Test Setting :
After three times trys to upload this large torrent , The Memory used not exhausted , the error report show this value change like |
I don't think this bug can reproduce after 5 alpha versions, since many change has been commited. |
The torrent file uploaded is 1.2 MiB large. Because GitHub does not support attachments of issues, the related torrent file has been sent to the author in another way.
The text was updated successfully, but these errors were encountered: