[BYOC] External shared library out of Memory

hello, I am using BYOC, and I have couple of problem when I inference LLM. Model parameter, and batch is big, I get out of memory, becuase my main memory is small When I make .so file. parameter is about 110M, and I used float32. Why out of memory is happen?