You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using rmagick on OSX to edit jpeg images. Recently I encountered an issues with the profile! (1) method on an image object. The method blocks and memory usage of the ruby process jumps immediately to ~4GB. (see [2]) and I need to kill the process to avoid the system to freeze completely. I'm calling profile! as described in the documentation to remove all profiles from the image.
# Use profile('*', nil) to remove all profiles from the image.
# see attached image
ruby -rrmagick -e 'Magick::Image.read("sample.jpeg").first.profile!("*", nil)'
I tested this with the following versions:
OSX 10.9.4
rmagick (master, 2.13.3, 2.13.3.rc1, 2.13.2)
imagemagick: 6.8.9-7 (installed with homebrew)
ruby 2.1.2p95
Did anyone else experience this behaviour? I tried to reinstall imagemagick without success. When running the same snippet on a ubuntu vm it works as expected.
[2]:
The text was updated successfully, but these errors were encountered:
Hi,
I'm using rmagick on OSX to edit jpeg images. Recently I encountered an issues with the profile! (1) method on an image object. The method blocks and memory usage of the ruby process jumps immediately to ~4GB. (see [2]) and I need to kill the process to avoid the system to freeze completely. I'm calling
profile!
as described in the documentation to remove all profiles from the image.I tested this with the following versions:
Did anyone else experience this behaviour? I tried to reinstall imagemagick without success. When running the same snippet on a ubuntu vm it works as expected.
[2]:
The text was updated successfully, but these errors were encountered: