Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AJudge] how to measure peak memory of java and python #6

Open
wowoto9772 opened this issue Jan 13, 2017 · 1 comment
Open

[AJudge] how to measure peak memory of java and python #6

wowoto9772 opened this issue Jan 13, 2017 · 1 comment

Comments

@wowoto9772
Copy link

native executable의 경우 프로세스의 피크 메모리를 시스템 콜을 이용하여 측정할 수 있습니다.

그러나 자바, 파이썬과 같이 native executable이 아닌 runtime env layer가 있는 경우 피크 메모리가 실제 메모리 보다 크게 측정 됩니다.

디자인 상 샌드박스 내에 들어가는 monitor 모듈의 복잡도를 최소한으로하여 언어 추가를 용이하게 하고자 하기 때문에 이 부분에 대한 해결책을 찾고 있습니다.

도와주세요 !

@Luavis
Copy link
Contributor

Luavis commented Jan 17, 2017

알고리즘 판정시에 사용되는 메모리 때문에 그러신 거면 docker status를 이용해서 측정하는건 어떠신지요? sandboxing에 docker 사용하신거 같은데

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants