cancel
Showing results for 
Search instead for 
Did you mean: 
vsolodkyi
Sisense Team Member
Sisense Team Member

Resolving SystemError and Memory Allocation Issues in Notebooks

Summary

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.

Main Content

Step-by-Step Instructions to Resolve SystemError

  1. 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.

  2. 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.

  3. Run the Notebook Again:
    • Execute the notebook to see if the SystemError persists.
    • If a different error appears, proceed to the next section.

Troubleshooting Memory Allocation Issues

  1. 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.

  2. 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).

  3. Verify the Changes:
    • After increasing the memory allocation, run the notebook again to ensure the error is resolved.

Additional Tips

  • 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.

Check out this related content: 
Academy
Documentation

Rate this article:
Version history
Last update:
‎09-05-2024 08:21 AM
Updated by: