compare50 icon indicating copy to clipboard operation
compare50 copied to clipboard

compare50 - Killed

Open Erin-c opened this issue 5 years ago • 3 comments

Screen Shot 2019-04-04 at 2 31 45 PM

This keeps happening for the homepage assignment. @crossroads1112 @Jelleas is there a workaround to stop it from timing out? I assume this will probably take the longest to run since some students have a lot of .html files and compare50 is trying to compare each student's html files against every other .html file in the archives and submissions folder.

@dmalan

Erin-c avatar Apr 04 '19 18:04 Erin-c

In order to debug this, I'll need access to the submissions and archives. Would you be able to email me a zip?

cmlsharp avatar Apr 08 '19 22:04 cmlsharp

@crossroads1112 I actually think the main reason this didn't work was probably because of the variety of file types. Since this was a relatively open-ended assignment students had images, videos, pdfs, etc. in their submissions. I restricted to just HTML and CSS files which ran but rendered weird when I opened them in a browser. For example, only the left or the right side would load. Is there a max number of files that compare50 can handle in as one submission?

Erin-c avatar Apr 10 '19 17:04 Erin-c

Not a max number, no, but it's possible that feeding it so many additional files causes it to use enough memory that the os kills it (what is happening here). The right/left side thing sounds weird, but I can't debug unless you send me the zip.

cmlsharp avatar Jun 21 '19 21:06 cmlsharp