Skip to content

Ack/dev protocol handler#2 - #341

Merged
Acktarius merged 4 commits into
ConcealNetwork:developmentfrom
Acktarius:ack/dev-protocolHandler#2
Aug 23, 2025
Merged

Ack/dev protocol handler#2#341
Acktarius merged 4 commits into
ConcealNetwork:developmentfrom
Acktarius:ack/dev-protocolHandler#2

Conversation

@Acktarius

Copy link
Copy Markdown
Member

max object , adapt to memory:

  • when memory can be asserted (linux, max) up to 1200 object total
  • else (windows) 800 object total

* Add cross-platform memory detection (Windows, Linux, macOS)
* Implement dynamic object limit calculation based on available memory
* Add fallback mechanism for low-memory systems
* Configure memory thresholds: 150MB minimum, 800 fallback, 1200 max objects
* Prevent memory exhaustion attacks and improve system stability
* Add proper error handling and logging for memory operations
* detection to macOS, fallback for windows
* one value simple, and reliable across all platforms
* uniformize maxObjectCount type to size_t
* remove .cursorrules
@Acktarius
Acktarius merged commit b628107 into ConcealNetwork:development Aug 23, 2025
6 checks passed
@Acktarius
Acktarius deleted the ack/dev-protocolHandler#2 branch April 27, 2026 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant