Keruspe/GPaste — Issue #10: gpasted & huge history files
Author: ryran
Created: 2011-12-03 10:38:32+00:00
State: open

Hi Marc-Antoine! A very much appreciate all the work you've put into GPaste. It's awesome.

In a recent project I was working on, I ended up copying huge amounts of data (100-300MB) to my clipboard (independent of gpaste) for testing on my Fedora system. When all was said and done, I realized that I had left gpaste on and tracking during all the experimenting, and sure enough, the daemon was no longer responding.

gpasted fails to start every time I attempt to load it--pegs the cpu for about a minute, then dies. The same happens if I try to use the client to empty history.

However, once I ran an lsof command and saw where the history file was stored and deleted it, all was well. Problem is fully-reproduce-able. Things work fine up to 50MB. Add on another 50MB and gpasted dies.

I feel kinda weird opening an issue for this, because I don't REALLY expect gpaste to be able to handle such huge clipboard sizes, but I just thought I'd give you this report in case it gives you any thoughts about how to improve your awesome app's handling of when users do stupid things. :)