> Source: [sk167507](https://support.checkpoint.com/results/sk/sk167507)

# sk167507 - Upload package in Package Repository result in "out of memory" and the task has server/client timeout

| Property | Value |
|----------|-------|
| Solution ID | sk167507 |
| Date Created | 2020-07-07 |
| Last Modified | 2020-10-26 |
| Technical Level | Advanced |
| Products | SmartConsole |
| Versions | R81 (EOS) |
| OS | Windows |

## Symptoms

- * On the SmartConsole's repository, a message similar to "A memory issue occurred during the upload. For more information, refer to sk167507"

* On the SmartConsole.log you see "OutOfMemoryException" was thrown.

* After a while task has ended with server/client timeout.

## Cause

When uploading a file to the machine it is splitted to a number of chunks. Each chunk is then wrapped with a header and sent to the server. The entire writing process before sending is preformed by writing into a memory buffer. The default size of the chunk is equal to the buffer size. Which means that memory need to have a place for a buffer of size of the chunk (Which in default is 50MB).  
In some cases when the OS memory is either occupied or very fragmented this error is thrown when trying to send a chunk. On 32 bit operating systems, only max of 2GB memory is available for use, which leads to this issue.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
