Francis-

With the OpenOffice transparency phenomenon, that indicates to me that 
perhaps they are using X-server pixmaps to do the preparation of the 
print job?  I wonder happens if you are running the terminal in 8-bit 
mode?  Does that mean that your prints will be limited to 256 colors or 
less? 

I say this because some time ago I was helping with the DigiKam project 
on their photo printing code, and I mistakenly used the QPixmap to build 
the printed photos before I realized that it was "dumbing down" the 
photos to whatever bit depth I was running at the time.  So if I was 
running 16-bit, I could never create a 24/32-bit pixmap.  I never 
checked the memory usage, but I'm sure it was high.  I switched the code 
to use server-side in-memory images, which is what it sounds like OOo 
needs to do, especially if the printed output depends on the bit depth 
of the terminal.

-Todd


Francis Giraldeau wrote:
> Hi,
>
> With linux terminals (like LTSP) the memory used by the X server is 
> realy an issue, because it can (and will) crash the terminal. The memory 
> on a terminal is usualy low, and swap by network should be avoided to 
> prevent network staturation.
>
> It seems that many application can cause this problem. For example, 
> Firefox uses a lot of RAM through X server (xorg), when many pages with 
> graphics are opened in tabs, even with optimisations discussed here :
>
> http://kb.mozillazine.org/Reducing_memory_usage_(Firefox)
>
> Firefox, konqueror, and Mozilla all have this behavior. The only one 
> that perform well is Opera. The RAM used through X server by this 
> browser seems to be constant, no matter the number of simultaneous tabs 
> opened.
>
> I did also experiments with OpenOffice, and print transparency must be 
> disabled in order to prevent memory burst. OpenOffice 2 eats up much 
> more ram on a terminal than OpenOffice 1 did. Results are here : 
> http://www.mille-xterm.org/en/TerminalMemoryUsage
>
> I tried to send messages on respective project about that, but I had few 
> comments, no real solution. I suppose that's because X11 terminals are 
> not the priority of those projects, so if we want those apps fixed, we 
> will have to do it ourself.
>
> Well, it's something we should take a look at, because it doesn't make 
> sens to need 512Mb of ram on a terminal.
>
> Have a nice day,
>
> Francis
>
>   


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to