Skip to content

High memory usage #1707

@klonuo

Description

@klonuo

Hi,

I have small project with just one script and set it to use my system python:

[project]
name = "air-pollution"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
dependencies = []

[tool.ty.environment]
python = "C:/Python312"

These are all imports in the script:

from datetime import datetime, date
import json

from dateutil.relativedelta import relativedelta
import numpy as np
import pandas as pd
import requests
from retry import retry
from sqlalchemy import create_engine, text

When I noticed that ty uses too much memory (7GB):

Image

This should probably be because I didn't created venv, but even with venv standard backend apps commits to 2-3GB.

Just wanted to report this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    memoryrelated to memory usageneeds-infoMore information is needed from the issue author

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions