jit.matrix maximum size (in memory)?

haye's icon

Hi,

a quick question to which I can't find an answer:

What is the Maximum size a Jitter Matrix can have?
For example: I'm trying to do a buffer for OpenGL frames with a three-dimensional [jit.matrix 4 char 3840 2160 60]. Max console says: could not allocate matrix
With [jit.matrix 4 char 1920 1080 60] it's working as expected.

I'm just wondering where the ceiling is and what the determining factor is?

Best regards,
Haye

slo ~|•'s icon

My testing suggests that a Jitter matrix must be less than 1 GB

haye's icon

Hey, thanks a lot for testing and pointing this out.

Now the question remains why this 1 GB ceiling exists nowadays?

slo ~|•'s icon

No worries. I was working with large matrices a little while ago and had to find the limit.

Yes, I'm curious about the limit too.

Rob Ramirez's icon

i will look into it

maneu's icon

Hi Rob, did you find a way to extend the amount of memory? It really is time for an update.

slo ~|•'s icon

Current Max cash stack, as it were, so it seems :-)