# Admin-API / Beim auslesen der Produkte -\> Out of memory

**URL:** https://forum.shopware.com/t/admin-api-beim-auslesen-der-produkte-out-of-memory/106618
**Category:** Shopware 6 (German)
**Created:** [28. Februar 2025 um 08:19 UTC](https://forum.shopware.com/t/admin-api-beim-auslesen-der-produkte-out-of-memory/106618 "2025-02-28T08:19:47Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![thomas.goebel](https://avatars.discourse-cdn.com/v4/letter/t/49beb7/32.png) [@thomas.goebel](https://forum.shopware.com/u/thomas.goebel)
#### Post date: [28. Februar 2025 um 08:19 UTC](https://forum.shopware.com/t/admin-api-beim-auslesen-der-produkte-out-of-memory/106618/1 "2025-02-28T08:19:47Z")

</div>

Hallo,

wenn ich versuche ALLE Produkte per „/api/product“ auszulesen erhalte ich ein **out if memory** (php Prozess auf dem Server).

De Aufruf mit limit funktioniert.  
„/api/product?limit=200“

Wie kann ich alle Produkte auslesen?  
Hilft dabei das „pagination“? Wie funktioniert das?  
Wie kann man die letzte Page ermitteln?

Bin neu in der API Programmierung. Deshalb so viele Fragen 😉

Gruß  
Thomas

---

<div class="post-metadata">

### Author: ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)
#### Post date: [28. Februar 2025 um 10:10 UTC](https://forum.shopware.com/t/admin-api-beim-auslesen-der-produkte-out-of-memory/106618/2 "2025-02-28T10:10:37Z")

</div>

> **[Request & Response Structure | Admin API](https://shopware.stoplight.io/docs/admin-api/request-and-response-structure)**
>
> The Admin API provides a base endpoint to which all other endpoints are relative. Powered by Stoplight.

> **[pagination | Admin API](https://shopware.stoplight.io/docs/admin-api/61b3ebcc9c7d4-pagination)**
>
> Reference & Documentation Powered by Stoplight.
