[reportlab-users] [EXTERNAL EMAIL] Re: ValueError: no memory after 4GB

Mark De Wit mark.dewit at iesve.com
Thu Apr 8 11:27:59 EDT 2021


Some modern game engines use MegaTextures to enhance/describe the 3D environment, they are easily this kind of size (first iterations were 32'000 by 32'000, they're now up to 128k in size).  The engine would use paging to manage memory consumption though...

But from a reportlab perspective, it must be quite the PDF indeed!

Mark

-----Original Message-----
From: reportlab-users <reportlab-users-bounces at lists2.reportlab.com> On Behalf Of Henning von Bargen
Sent: 08 April 2021 16:16
To: reportlab-users at lists2.reportlab.com
Subject: [EXTERNAL EMAIL] Re: [reportlab-users] ValueError: no memory after 4GB

Shaw, Theodore wrote:
> I'm trying to convert an SVG to a BMP that's about 100,000 pixels by 
> 100,000 pixels. My code looks like

I'm just curious:
WHY do you try to generate such a huge² image?
I mean, practically every image viewer program would fail with OutOfMemory if a user wants to look at this image.
Why don't you just keep the SVG?

Just to demonstrate the dimension:
Say, a colour laser printer uses 600 dpi (which is good enough for photos).
Then printing your image in this natural dpi resolution would result in a 4.2 m x 4.2 m paper...
I really cannot imagine a use-case...

Henning
_______________________________________________
reportlab-users mailing list
reportlab-users at lists2.reportlab.com
https://pairlist2.pair.net/mailman/listinfo/reportlab-users


More information about the reportlab-users mailing list