Comments (2)
It sounds like your data is too large. FlatBuffers can support at most 2GB due to signed 32 bit integers as a critical data structure. FlatSharp has a (somewhat artificial) limit of 1GB.
from flatsharp.
That said -- GetMaxSize
truly does compute the worst case. You might have luck if you were to just try to serialize the data into a ~1GB array. If FlatSharp goes over a limit, you'll get a BufferTooSmallException
.
However, if you are that close to the limit, you should explore ways to partition your data.
from flatsharp.
Related Issues (20)
- Mapping flatbuffer value type structs to existing C# types HOT 18
- Add fs_preserveCase attribute for members, to allow preserving identical case as in fbs HOT 2
- Unions of 41 types cause a compilation error HOT 6
- Comments Requested: Reducing FlatSharp Allocations HOT 14
- Unity Support HOT 14
- Compile fails to add 'required' to net7.0 generated code HOT 5
- Duplicate Clone Functions v 7.0.2 HOT 4
- Serializer.Parse stream API? HOT 4
- Some questions HOT 2
- Generated code uses nullable annotations HOT 2
- Pipeline-Build-Error at executing the flatsharp compiler HOT 3
- Generated defaults fail to handle enums with negative int & large ulong HOT 2
- FlatSharp Support for 64 Bit FlatBuffers
- Codestripping with IL2CPP HOT 7
- Compilation target fails when executable path (i.e. nuget cache path) contains spaces
- Namespace not found HOT 1
- Implementation of IInputBuffer for ReadOnlySequence<byte> HOT 6
- Share table HOT 2
- [Bug] Using the latest "Standalone" `FlatSharp` nuget in a .net6 project; generates a file that requires `IPoolableObject` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flatsharp.