Skip to content

Commit

Permalink
[CI] Even smaller memory allocations
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano authored May 22, 2024
1 parent b3ffb0d commit 5524a37
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ jobs:
import time
from datetime import datetime
print("Hello, world!")
for i in range(5):
print(str(datetime.now()))
size = i * 1024 ** 3
size = i * 1024 ** 2 * 256
print(f"I am about to allocate {size / 1024 ** 3} GiB of memory")
a = bytearray(size)
time.sleep(10)
Expand Down

0 comments on commit 5524a37

Please sign in to comment.