Untitled conversation
- User
resources := &specs.LinuxResources{ CPU: &specs.LinuxCPU{ Quota: ptr(int64(100000)), // 100ms CPU quota Period: ptr(uint64(1000000)), // 1s CPU period }, Memory: &specs.LinuxMemory{ Limit: ptr(int64(100 * 1024 * 1024)), // 100MB memory limit }, }If I want to create a CgroupSandbox, I need to specify the memory limit first. But this is a OJ project, should I create a new sandbox for each request?
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.