This article addresses common issues encountered when running notebooks, specifically SystemError and memory allocation errors. It provides step-by-step instructions to resolve these issues and ensure smooth notebook functionality.
- Identify the Failing Line:
- Review the notebook to locate the line in the configuration cell that is causing the SystemError.
- If the line has been commented out, uncomment it to identify the exact issue.
- Check for Syntax or Logic Errors:
- Ensure that there are no syntax errors in the notebook code.
- Verify the logic of the code to ensure it aligns with the intended operations.
- Run the Notebook Again:
- Execute the notebook to see if the SystemError persists.
- If a different error appears, proceed to the next section.
- Identify the Memory Allocation Error:
- If the error message indicates that the output exceeds the resources allocated to the Notebooks Compute Instance, note the memory allocation details.
- Increase Memory Allocation:
- Access the Configuration Manager:
- Navigate to Admin > System Configuration / System Management > Configuration.
- Select the 5-click config menu > Warehouse-Service > notebooks.compute.defaultMemoryInMibs.
- Increase the memory allocation from the default value (e.g., 256 MiB) to a higher value (e.g., 1024 MiB).
- Verify the Changes:
- After increasing the memory allocation, run the notebook again to ensure the error is resolved.
- Testing with Real Data:
- When testing notebooks with real data, ensure that the sample size is manageable within the allocated resources.
- For larger datasets, consider increasing the memory allocation proportionally.
- Feedback and Support:
- If the issue persists, contact support with detailed information about the error and the context of its occurrence.
- Providing feedback on your experience can help improve the support process.