Le 07/10/2019 à 20:07, Seth Hillbrand a écrit :
> Hi JP-
> 
> 
> I noticed that you added an option to disable the CJK ideographs
> in 34b26a0ac because you were seeing out of memory issues under OpenGL. 
> The stroke fonts should only be loading on the system heap (4.5MB for
> the current CJK set), so if it's leaking into the video memory, I'd like
> to address that.
> 
> 
> Can you provide additional information about the symptoms you are seeing
> and I can see about fixing this?
> 
> 
> Thanks!
> 
> Seth
> 

Hi Seth,

Here is a test showing the memory used by pcbnew, with and without CJK
font (I used the Windows monitor resources):

Initial state:
Available memory: 2280 Mb
Kicad is compiled in Release version.

pcbnew loaded, without CJK:
Available memory: 2153 Mb
pcbnew + fp viewer loaded, without CJK:
Available memory: 2139 Mb
Pcbnew+Eeschema, without CJK:
Available memory: 2060 Mb

pcbnew loaded, with CJK:
Available memory: 1590 Mb
pcbnew + fp viewer loaded, without CJK:
Available memory: 1537 Mb
Pcbnew+Eeschema, with CJK:
Available memory: 1176 Mb

So, the CJK font takes roughly 900Mb at run time when runnning Eeschema
+ Pcbnew.

It explains why I am running out of memory.
There is certainly room for optimization.

> 
> 
>       
> 
> Seth Hillbrand
> 
> Chief Technologist
> 
> KiCad Services Corporation
> 
> Twitter Twitter <https://twitter.com/KiProEDA>                LinkedIn 
> LinkedIn
> <https://www.linkedin.com/company/kicad/about>         
> 
>                               
> 
>       +1 530 302 5483 <tel:+15303025483> | +1 212 603 9372 <tel:+12126039372>
> 
>       www.kipro-pcb.com <https://www.kipro-pcb.com/>
>       Davis, CA


-- 
Jean-Pierre CHARRAS

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to