Adium

Opened 13 years ago

Closed 13 years ago

#6729 closed defect (fixed)

dragging from iphoto into dp locks adium

Reported by: macman64 Owned by: nobody
Milestone: Adium X 1.0.3 Component: Adium Core
Version: Severity: normal
Keywords: Cc:
Patch Status:

Description

When I drag from iphoto into the personal tab right above the choose icon button(without clicking it) where it shows your current dp, it makes everything useless for 20-40 seconds. This is on a mac pro 2.66ghz with 1gb of ram. Running adium 1.0.2. When I click choose icon then drop it in there it works fine. Also my cpu usage jumps around %3 to %30(so a little more then %100 of one core)

Attachments (1)

adium.txt (1.5 KB) - added by Jayden 13 years ago.
leak log

Download all attachments as: .zip

Change History (7)

comment:1 Changed 13 years ago by Jayden

So i have discovered this is RAM related. When I drag the image it spikes to about 200mb then drops back down. Now if i have message windows open which show the image it spike to about 200mb then drops and stays at 150mb and thats with only one window open. More conversations the higher the ram usage when i do that. So when adium starts using 300mb of ram It slows everything to a halt because i am out of RAM.

Changed 13 years ago by Jayden

Attachment: adium.txt added

leak log

comment:2 Changed 13 years ago by Evan Schoenberg

Milestone: Adium X 1.0.3

You're using a full size (presumably multiple megapixel if you have a modern digital camera) image. Dragging directly to the image view/image picker uses the image *directly* without any resizing. We should check demensions on a drop like that and bring it down to 96x96 if it's larger than that.

comment:3 Changed 13 years ago by Chris Forsythe

Also, are you implying that you only have 300 mb of memory in your mac pro?

comment:4 Changed 13 years ago by Evan Schoenberg

It's more than a loss of memory -- drawing performance in the webkit message view and probably elsewhere is going to be terrible on a 100 mb+ bitmap.

comment:5 in reply to:  4 Changed 13 years ago by Jayden

I have 1gb of ram not 300 just the rest is used! I know I don't have much but i will be getting more. Either way it should take 300 mb. and stay at those high numbers. Also the images are between 1mb to 4 mb image files. I am not worried about the spike that is needed its the fact it does not shrink down after if conversations are open.

comment:6 Changed 13 years ago by Evan Schoenberg

Resolution: fixed
Status: newclosed

(In [19456]) Merged [19455]: Added a setMaxSize: option to AIImageViewWithImagePicker and used it to set a maximum size of 256x256 for images dropped, pasted, or otherwise chosen for use as buddy icons Adiumwide. Fixes #6729.

Note: See TracTickets for help on using tickets.