Comments (3)
@zkagin When I run this locally, I don't get the memory error, it just fails silently.
2020-09-26 12:38:44AM UTC | INFO: StudentSubmissions: Generating requests...
2020-09-26 12:38:54AM UTC | INFO: StudentSubmissions: 1923 requests remaining.
2020-09-26 12:39:10AM UTC | INFO: StudentSubmissions: 1630 requests remaining.
2020-09-26 12:39:59AM UTC | INFO: StudentSubmissions: 1382 requests remaining.
With debug it does much the same thing with no further clue.
from google_classroom.
Interesting. There's not much that gets retained between batches, so perhaps the data coming back from StudentSubmissions is overwhelming the RAM provided on your server or VM? I'll try and repro this by limiting available memory as well. Does it happen only for StudentSubmission?
In the mean time, one hypothesis for a fix would be to lower the batch size on StudentSubmissions. If you are still getting this silent crash after that, then maybe there is something else going on.
from google_classroom.
@zkagin I tried reducing the batch size and that worked for a little while but we eventually encountered the error again at the smaller batch size. I've doubled the RAM on the server and that worked so far.
from google_classroom.
Related Issues (20)
- Incremental Meet Updates HOT 5
- Invalid column name 'ImportDate'. HOT 3
- Failing tests don't trigger a failed Github Action Check
- Add error handling for dates
- Add calendarId to course object/table HOT 1
- Coursework endpoint failing HOT 7
- Student Submissions error
- Purpose of draftGrade and draftGraderID? HOT 1
- SQL Deadlocks HOT 4
- Add individualStudentOptions for courseWork HOT 3
- Creating Diffing Logic to Check Difference Between Stored List of Items and Provided List
- Build First Write Endpoint For Courses HOT 1
- Adapt Batching Logic For Write Endpoints
- Add Write Endpoints for Teachers
- Add Write Endpoint For Students
- Add Write Endpoint For Topics
- Archive StudentSubmissions before refresh HOT 19
- Aliases endpoint does not record courseId HOT 3
- Add additional course statuses to Courses Endpoint HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google_classroom.