# Fatal error bei &quot;Vorschau&quot; Pdf-Belegerstellung

**URL:** <https://forum.shopware.com/t/fatal-error-bei-quot-vorschau-quot-pdf-belegerstellung/27688>\
**Category:** Administration\
**Created:** [28. Mai 2015 um 10:40 UTC](https://forum.shopware.com/t/fatal-error-bei-quot-vorschau-quot-pdf-belegerstellung/27688 "2015-05-28T10:40:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![chefkoch85](https://avatars.discourse-cdn.com/v4/letter/c/977dab/32.png) [@chefkoch85](https://forum.shopware.com/u/chefkoch85)\
**Post date:** [28. Mai 2015 um 10:40 UTC](https://forum.shopware.com/t/fatal-error-bei-quot-vorschau-quot-pdf-belegerstellung/27688/1 "2015-05-28T10:40:30Z")

</div>

Hy ich bekomme diesen Fehler wenn ich die Vorschau der Rechnung unter PDF-Belegerstellung anklicke. Hat jemand einen Rat für mich. Version 4.3.6 Fatal error: Out of memory (allocated 39321600) (tried to allocate 261900 bytes) in /home/\*\*\*/engine/Library/Mpdf/mpdf.php on line 14477 503 Service Unavailable Vielen Dank im vorraus.

---

<div class="post-metadata">

**Author:** ![mkl1525](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@mkl1525](https://forum.shopware.com/u/mkl1525)\
**Post date:** [28. Mai 2015 um 11:00 UTC](https://forum.shopware.com/t/fatal-error-bei-quot-vorschau-quot-pdf-belegerstellung/27688/2 "2015-05-28T11:00:12Z")

</div>

Was sagt denn die Systemprüfung über den Speicher? Der PHP-Prozess beschwert sich auf jeden Fall über zu wenig. Gruß Mario

---

<div class="post-metadata">

**Author:** ![chefkoch85](https://avatars.discourse-cdn.com/v4/letter/c/977dab/32.png) [@chefkoch85](https://forum.shopware.com/u/chefkoch85)\
**Post date:** [28. Mai 2015 um 11:08 UTC](https://forum.shopware.com/t/fatal-error-bei-quot-vorschau-quot-pdf-belegerstellung/27688/3 "2015-05-28T11:08:22Z")

</div>

Danke für die schnelle Antwort. Was meinst du mit „Systemprüfung“?? 😉 In System-Information \> Server-Konfiguration sind überall Häckchen falls du das meinst…

---

<div class="post-metadata">

**Author:** ![mkl1525](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@mkl1525](https://forum.shopware.com/u/mkl1525)\
**Post date:** [28. Mai 2015 um 11:26 UTC](https://forum.shopware.com/t/fatal-error-bei-quot-vorschau-quot-pdf-belegerstellung/27688/4 "2015-05-28T11:26:40Z")

</div>

Die meinte ich. Der Prozess versucht mindestens 39 MB Ram zu belegen, kann dies aber nicht. Wieviel steht denn bei „memory\_limit“? Setze in der php.ini deines Servers mal das memory\_limit höher bzw. lass das deinen Hoster machen. Gruß Mario

---

<div class="post-metadata">

**Author:** ![chefkoch85](https://avatars.discourse-cdn.com/v4/letter/c/977dab/32.png) [@chefkoch85](https://forum.shopware.com/u/chefkoch85)\
**Post date:** [28. Mai 2015 um 11:51 UTC](https://forum.shopware.com/t/fatal-error-bei-quot-vorschau-quot-pdf-belegerstellung/27688/5 "2015-05-28T11:51:05Z")

</div>

In der PHP.INI sind 128MB hinterlegt. Steht auch so bei Server-Information…

---

<div class="post-metadata">

**Author:** ![trixx](https://avatars.discourse-cdn.com/v4/letter/t/b5e925/32.png) [@trixx](https://forum.shopware.com/u/trixx)\
**Post date:** [28. Mai 2015 um 12:00 UTC](https://forum.shopware.com/t/fatal-error-bei-quot-vorschau-quot-pdf-belegerstellung/27688/6 "2015-05-28T12:00:48Z")

</div>

[quote=„chefkoch85“]In der PHP.INI sind 128MB hinterlegt. Steht auch so bei Server-Information…[/quote] 128MB Memory Limit ist zu wenig für Shopware. Shopware empfiehlt mindestens 256. [Hier](http://wiki.shopware.com/Systemanforderungen%5C_detail%5C_1840.html) kannst du dir auch einmal die Systemanforderungen ansehen.

---

<div class="post-metadata">

**Author:** ![chefkoch85](https://avatars.discourse-cdn.com/v4/letter/c/977dab/32.png) [@chefkoch85](https://forum.shopware.com/u/chefkoch85)\
**Post date:** [28. Mai 2015 um 12:18 UTC](https://forum.shopware.com/t/fatal-error-bei-quot-vorschau-quot-pdf-belegerstellung/27688/7 "2015-05-28T12:18:01Z")

</div>

So hab das memory limit auf 256 gesetzt. Leider ohne Erfolg.;( Erhalte jetzt diese Fehlermeldung: Fatal error: Out of memory (allocated 38797312) (tried to allocate 311296 bytes) in /home/\*\*\*/engine/Library/Mpdf/classes/ttfontsuni.php on line 1175 503 Service Unavailable Das seltsame ist das die Vorschau bei Lieferschein … funktioniert.
