‘gs’ is killing my system
I created a ps file from the link http://techbase.kde.org/Getting_Started/Build/KDE4 using konqueror. Now if I want to open that file in KGhostView, the whole system is going down. In ‘top’ , I can see ‘gs’ is eating most of the memory. Within 30 seconds the load average goes up 8.11 and I turned off the laptop forcefully.
I am having a Core Duo 1.60GHz with 1 GB ram. You can check the file here.
5 Comments to ‘gs’ is killing my system
Something kaput with the ps file, gs just barfs on it.
But if you run
ps2pdf kde4build.ps
you can hapily read the resulting pdf file kde4build.pdf
July 31, 2007
Not working :(
Again gs is killing with load avarage 4.56 after 1 minute, mem usage 76%. I think there is some problem with the file itself .
July 31, 2007
I downloaded the ps file , and can see it perfectly without any issues on my box.
kghostview –version
Qt: 3.3.7
KDE: 3.5.7
KGhostView: 0.20
Regards
Kanti
July 31, 2007
Well “ghostscript -sDEVICE=x11alpha -dSAFER kde4build.ps” works fine.
gv which fails uses something like: “ghostscript -sDEVICE=x11 -dTextAlphaBits=4 -dGraphicsAlphaBits=2 -dMaxBitmap=10000000 -dNOPLATFONTS -dSAFER kde4build.ps” so I guess that ghostscript is running out of memory. Playing with the options will probably tell you which one is the cause. It’s probably best to keep memory bounded to something low with ulimit if you don’t want to kill your system which each test ;P
It’s definitely something with the file – I’ve tried it through both ps2pdf and evince and they both start consuming ungodly processor resources for a long time. After 3 minutes on each, I gave up and stopped them. Perhaps we can ask the author for an updated file?
July 31, 2007