10/21/2019 CSCI 561 (195 unread)
question
275 views
Runtime Specification for HW2
Hi,
I am wondering if we could know information about the runtime our programs are running in HW2? More specifically, could we learn the memory limit for running our program and the
maximum bytes we can write in playdata.txt at one time? Or do we need to write our calibrate.xxx mentioned in the homework statement to figure the memory limit? Thanks in advance.
Updated 5 days ago by Anonymous
the students answer, where students collectively construct a single answer
As per the TAs anwser in @566, the maximum size of playdata.txt is 1GB.
Updated 2 days ago by Anonymous
the instructors answer, where instructors collectively construct a single answer
You can write what you want in playdata.txt, but until @Qian Wang gives some kind of authoritative statement about its size, I would suggest to keep it real, i.e., to put no more than maybe a few MB at most in there.
For memory limits, this would depend on where we end up running your code, but to really be safe, I would go with whats said here:
https://stackoverflow.com/questions/28272923/default-xmxsize-in-java-8
I think its safe to assume that even if wed run everyones code in a VM, that VM would have at least 1GB of memory, so youd get at least 256 MB for the JVM. Please note that everything I post here is just what Im expecting as of right now and in no way authoritative. Wait for @Qian Wang to reply.
Updated 5 days ago by Daniel Link
followup discussions for lingering questions and comments
https://piazza.com/class/jzob0qt1owq15p?cid=455
1/1
2wh
Programming
[SOLVED] Java 10/21/2019 CSCI 561 (195 unread)
$25
File Name: Java_10/21/2019_CSCI_561_(195_unread).zip
File Size: 348.54 KB
Only logged in customers who have purchased this product may leave a review.
Reviews
There are no reviews yet.