cross-platform-actions / action

Cross-platform GitHub action
MIT License
140 stars 19 forks source link

Increase memory in VM #16

Closed straight-shoota closed 1 year ago

straight-shoota commented 1 year ago

Hi, I'm evaluating the use of this action for running CI for https://github.com/crystal-lang/crystal on FreeBSD. But the memory limit of 4GB restricts that (see https://github.com/crystal-lang/crystal/actions/runs/3943057224/jobs/6747446954).

I understand this is just an arbitrary limit. The runner has more to spare.

Would it be possible to make the memory setting configurable?

Perhaps it could also automatically delegate (almost) all memory available in the runner environment by default.

jacob-carlborg commented 1 year ago

Would it be possible to make the memory setting configurable?

Yes, that should be doable.

straight-shoota commented 1 year ago

I suppose the same applies to cpuCount.

jacob-carlborg commented 1 year ago

I suppose the same applies to cpuCount.

Please report a separate issue for that, so it's not forgotten.

straight-shoota commented 1 year ago

Thanks for implementing this 🙇 My workflow now succeeds with enough memory.

jacob-carlborg commented 1 year ago

Awesome 👍.