SynapseProject / handlers.ActiveDirectory.net

Synapse is lightweight execution engine for unifying federated data sources and processes. The ActiveDirectory Handler allows for programatic manipulation of an Active Directory instance.
MIT License
0 stars 1 forks source link

Core : Return Values > 2GB #130

Closed GuyWaguespack closed 6 years ago

GuyWaguespack commented 6 years ago

Currently, returning single objects > 2GB result in an "OutOfMemory" error. (Search, List All Computers With Attributes).

Determine a way to either :

GuyWaguespack commented 6 years ago

Out of Memory exception occurs when Serializing results back to Json. I believe it is because the YamlHelpers.Serialize method uses a "StringWriter", which I believe has a limit to the number of characters allowed.

Add option to save results into a file instead with multiple formats (CSV, XML, JSON and YAML to begin).

GuyWaguespack commented 6 years ago

Works for Json and Yaml. Need to create XmlHelpers.SerializeFile method that writes XML to a file.