Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Threadscope crashes #49

Closed
idontgetoutmuch opened this issue Mar 27, 2015 · 5 comments
Closed

Threadscope crashes #49

idontgetoutmuch opened this issue Mar 27, 2015 · 5 comments

Comments

@idontgetoutmuch
Copy link
Member

Dominics-MacBook-Pro:Private dom$ threadscope 

(threadscope:22060): Gtk-WARNING **: Attempting to store changes into `/Users/dom/.local/share/recently-used.xbel', but failed: Failed to create file '/Users/dom/.local/share/recently-used.xbel.R2H7VX': No such file or directory

(threadscope:22060): Gtk-WARNING **: Attempting to set the permissions of `/Users/dom/.local/share/recently-used.xbel', but failed: No such file or directory
threadscope: user error (out of memory)
threadscope 0.2.6
ls -ltr ~/ESandbox.eventlog 
-rw-r--r--@ 1 dom  staff  102892260 Mar 27 14:47 /Users/dom/ESandbox.eventlog

With larger event logs this happened when zooming in. With this actual event log it happens when I try to export a png.

@Mikolaj
Copy link
Member

Mikolaj commented Mar 27, 2015

Thank you for the report. How much memory did it actually consume before crashing?

This commit message reminds me TS was tested with large eventlogs:

Mikolaj/eventlogs@c394a66

but I don't remember if I also tested exporting a png with them or not. In any case, your eventlog may be denser than these in some respects (e.g., generated with different GHC options) or perhaps TS became more memory hungry since that time. In case anybody tries to debug the problem, is it possible to regenerate any of your example eventlogs easily?

@idontgetoutmuch
Copy link
Member Author

Hard to say how much it consumed before crashing. It was consuming over 2G before I zoomed in and it crashed with "out of memory". I can't supply the code that is generating the problem. I can supply the actual log if that helps.

@Mikolaj
Copy link
Member

Mikolaj commented Mar 30, 2015

Yep, if that's not a problem, that would be very helpful for whomever ventures to fix the memory usage (volunteers are very welcome; debugging Haskell is fun (comparatively, anyway:)).

@idontgetoutmuch
Copy link
Member Author

It seems to be a problem on my macbook only. On an ubuntu machine it works albeit taking up well over 3G. It also took about 30 seconds to load a 100M log.

I am going to close this; I suspect it will forever remain one of life's great unsolved mysteries.

@seanparsons
Copy link

I've just had this issue on an eventlog that isn't even a single megabyte in size.

This looks to be exactly the same as #50 as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants