Main Site Documentation

Exceeded maximum size of stream 'bytecode' : 66083


#1

Doing a build and load (F5) got this:

Generating device specific assemblies.
Failed to generate device specific assemblies:
Exceeded maximum size of stream ‘ByteCode’: 66083
MMP: error MMP0000: CLR_E_OUT_OF_RANGE

What does this mean ?


#2

I am guessing you are exceeding the stream max size. Can you please share coffee that reproduce this behavior?


#3

:slight_smile:
Code, he wants Code :slight_smile: But get him a coffee someone, too, stat !


#4

Lol. I need both code and coffee!


#5

I’m actually trying to discover how and where this problem got introduced


#6

The error likely means you have too much code in your assembly. In TinyCLR currently only 65,536 bytes of data are available for method bodies per assembly. One of your assemblies apparently has 66,083.


#7

that’s what I thought. However, retrieving the latest from team explorer introduced this. Trying to recover from that now


#8

How do I move code to a different assembly ?


#9

Add one or more DLL to your solution?


#10

DLL’s Done