Lucene.Net
3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
|
Returns primitive memory sizes for estimating RAM usage. More...
Inherited by Lucene.Net.Util.AverageGuessMemoryModel.
Public Member Functions | |
abstract int | GetPrimitiveSize (System.Type clazz) |
Properties | |
abstract int | ArraySize [get] |
size of array beyond contents | |
abstract int | ClassSize [get] |
Class size overhead | |
abstract int | ReferenceSize [get] |
size of reference | |
Returns primitive memory sizes for estimating RAM usage.
Definition at line 26 of file MemoryModel.cs.
|
pure virtual |
clazz | a primitive Class - bool, byte, char, short, long, float, short, double, int |
|
get |
size of array beyond contents
Definition at line 29 of file MemoryModel.cs.
|
get |
Class size overhead
Definition at line 32 of file MemoryModel.cs.
|
get |
size of reference
Definition at line 42 of file MemoryModel.cs.