Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temporal Analysis: User memory limit exceeded #324

Open
danangmassandy opened this issue Feb 7, 2025 · 1 comment
Open

Temporal Analysis: User memory limit exceeded #324

danangmassandy opened this issue Feb 7, 2025 · 1 comment
Assignees

Comments

@danangmassandy
Copy link
Contributor

danangmassandy commented Feb 7, 2025

Using below form for temporal analysis, the Google Earth engine returns error 'User memory limit exceeded'.
This can also happen when I try in the original script.

Image

Exception traceback:

Traceback (most recent call last):
  File "/home/web/project/django_project/manage.py", line 22, in <module>
    main()
  File "/home/web/project/django_project/manage.py", line 18, in main
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.12/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.12/site-packages/django/core/management/__init__.py", line 436, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python3.12/site-packages/django/core/management/base.py", line 412, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/local/lib/python3.12/site-packages/django/core/management/base.py", line 458, in execute
    output = self.handle(*args, **options)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/web/project/django_project/analysis/management/commands/test_earth_engine.py", line 250, in handle
    self.run_quarterly_temporal_analysis(custom_geom)
  File "/home/web/project/django_project/analysis/management/commands/test_earth_engine.py", line 200, in run_quarterly_temporal_analysis
    temporal_output, temporal_output_plot = run_analysis(
                                            ^^^^^^^^^^^^^
  File "/home/web/project/django_project/analysis/analysis.py", line 603, in run_analysis
    return to_plot.getInfo(), to_plot_ts.getInfo()
           ^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/ee/collection.py", line 560, in getInfo
    return super().getInfo()
           ^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/ee/computedobject.py", line 107, in getInfo
    return data.computeValue(self)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/ee/data.py", line 1126, in computeValue
    return _execute_cloud_call(
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/ee/data.py", line 408, in _execute_cloud_call
    raise _translate_cloud_exception(e)  # pylint: disable=raise-missing-from
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ee.ee_exception.EEException: User memory limit exceeded.
@danangmassandy
Copy link
Contributor Author

part of #296

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants