Last modified: 2013-06-05 21:48:01 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T51054, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49054 - Huge memory leak (version 2.1.20)
Huge memory leak (version 2.1.20)
Status: RESOLVED FIXED
Product: Huggle
Classification: Unclassified
Application (Other open bugs)
2.1.19
All All
: Unprioritized normal
: ---
Assigned To: Addshore
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-02 05:50 UTC by Mike.Rosoft
Modified: 2013-06-05 21:48 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Huggle configuration (269.28 KB, application/zip)
2013-06-02 05:50 UTC, Mike.Rosoft
Details

Description Mike.Rosoft 2013-06-02 05:50:58 UTC
Created attachment 12436 [details]
Huggle configuration

When I run Huggle, its memory usage quickly (sometimes immediately, in other cases after a couple of minutes of) increases in an extreme manner: first to about 800 MB, then to the rest of available memory (over 1.5 GB), causing the system to hang. (I tried deleting the en.wikipedia whitelist, but this only fixed the bug for a while if at all.)
Comment 1 Mike.Rosoft 2013-06-02 14:55:03 UTC
I have attempted to run Huggle on my other computer (the previous report occurred on my notebook). This time, Huggle didn't cause the whole system to hang, but the application itself did hang; after a few seconds it crashed with OutOfMemoryException.

OutOfMemoryException: Byla vyvolána výjimka typu System.OutOfMemoryException.
   v System.String.InternalSubString(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
   v System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
   v Huggle.Misc.HtmlToWikiText(String Text)
   v Huggle.Processing.ProcessDiff(Edit Edit, String DiffText, BrowserTab Tab)
   v Huggle.Requests.DiffRequest.Done()
   v Huggle.Requests.Request.ThreadDone()
   v Huggle.Misc.CallbackInvoke(Object TargetObject)
Comment 2 Mike.Rosoft 2013-06-05 17:39:08 UTC
The bug is also being discussed here: http://en.wikipedia.org/wiki/Wikipedia:Huggle/Feedback#Huggle_hanging_and_displaying_error_message
Comment 3 Addshore 2013-06-05 21:26:03 UTC
Should be fixed in this revision https://github.com/huggle/huggle/commit/8e32c339a64b389696852f3ab46cfc7063ecb0ad

Not sure if this is the best fix but It will do to allow people to actually use huggle.

I will make a new release soon!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links