-
-
Notifications
You must be signed in to change notification settings - Fork 174
Description
Describe the bug
I have tried to mass create footprints (~15k lines), and it returned (understandably) 503 error.
After that I tried to batch the creation into smaller parts, but I cannot open the footprint page, as it returns 500.
To Reproduce
Steps to reproduce the behavior:
- Go to 'Tools>Edit>Footprints>Mass create'
- Paste roughly 15k lines
- Click create
- See 503
- Go back to home page (which loads correctly)
- Go to 'Tools>Edit>Footprints>Mass create'
- See 500
Expected behavior
While not being able to handle ~15k lines at once is expected, not being able to visit the page again is not expected.
Server Side
- Part-DB Version: Part-DB 2.2.1
- PHP Version: 8.4.13 (SAPI: fpm-fcgi)
- Database Server SQLite 3.40.1
Desktop:
- OS: Fedora 41
- Browser Firefox
- Version 143.0.4
Additional context
I am running it in k8s using helm.
When I try to access the footprint page this is the log: [Sat Nov 08 09:42:50.632212 2025] [proxy_fcgi:error] [pid 24:tid 55] [client 10.42.0.91:58914] AH01071: Got error 'PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 10952704 bytes) in /var/www/html/vendor/twig/twig/src/Template.php on line 359'
To generate the ~15k lines, one can use this paste. It uses the kicad footprint library.
Tried steps
I tried to delete the cache (both with the command and rm -rf /var/cache) and restarting the server, and even clearing site data in Firefox.