DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 10th May 2012
aleunix aleunix is offline
Real Name: Alessandro
Spam Deminer
 
Join Date: May 2008
Location: Italy
Posts: 224
Default Problem with convert

When i try to use this command (present on imagemagick) on big images i have problems.

For example if you go on imaging-resource and you download an image taken with the Nikon D800.
convert D800...jpg D800....png
From an image of 21.5 mb on /tmp is present a temporary file of 275Mb!
Also, in the end, the png isn't made, remain 0 byte.

Note:
Now i using openbsd 5.1 but i have this problem since the 5.0 with the difference that now the /tmp have more space so at least don't said that the /tmp is full!
Reply With Quote
  #2   (View Single Post)  
Old 10th May 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Ciao, aleunix.

See http://imagemagick.sourceforge.net/http/www/FAQ.html#C9 on memory allocation formulae.

Quote:
Also, in the end, the png isn't made, remain 0 byte.
Do you get any error messages? A little internet search told me that a frequent complaint is getting memory allocation failures. And the same search informed me that you can add -debug all to your convert command to obtain more information.

I don't use ImageMagick ... but from your description and from that search I will take a guess that you need to review your ulimit (bourne shell based shells) or limit (c-shell based shells) values, and make appropriate adjustments in login.conf(5).
Reply With Quote
  #3   (View Single Post)  
Old 10th May 2012
aleunix aleunix is offline
Real Name: Alessandro
Spam Deminer
 
Join Date: May 2008
Location: Italy
Posts: 224
Default

Quote:
Originally Posted by jggimi View Post
Do you get any error messages?
No since after a while seem that the process stop itself while instead take only a pause and go on!
So the first time i stopped the process when itself seem stopped, this time i wait a little longer and when i have see 348 Mb i decide to stop it!

Quote:
Originally Posted by jggimi View Post
you can add -debug all
Unfortunately i haven't obtain useful information but only a series of almost identical lines.

I use the standard shell for OpenBSD.

I put the standard /etc/login.conf as attach file.

Quote:
Originally Posted by jggimi View Post
I don't use ImageMagick ...
What do you use for convert images?
Attached Files
File Type: conf login.conf (2.4 KB, 61 views)
Reply With Quote
Reply

Tags
convert, imagemagick

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert "no-nat" to new OpenBSD 4.7 NAT/RDR syntax J65nko Guides 0 3rd April 2011 12:14 AM
How to convert MD5 hash into shadow format? guitarscn General software and network 2 29th November 2010 12:54 PM
Want to convert my server to raid revzalot OpenBSD Installation and Upgrading 2 16th September 2009 07:56 PM
Boot problem. Geometry problem? gulanito FreeBSD Installation and Upgrading 0 3rd July 2009 03:03 AM
Convert varchar () to datetime datatype in MYSQL cksraj Programming 1 22nd June 2009 12:53 PM


All times are GMT. The time now is 09:04 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick