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

getObject crashes. out of memory #1781

Open
neal3000 opened this issue Sep 29, 2024 · 2 comments
Open

getObject crashes. out of memory #1781

neal3000 opened this issue Sep 29, 2024 · 2 comments
Labels
bug This issue is a bug.

Comments

@neal3000
Copy link

Describe the bug

Orchestrator file.
private func attempt(context: InterceptorContextType, attemptCount: Int) async {

let selectedAuthScheme = try await selectAuthScheme.select(attributes: context.getAttributes())

this line of code will eat all memory and crash the system.

ps. I have SDKLoggingSystem initialized at debug, but do I need to enable it for S3 subsystem ?

Expected Behavior

I expect getObject to work.

This code worked on 0.36.2

Current Behavior

the line of code above, will result in memory going from 80 mb to 2gb and iPhone app being closed

Reproduction Steps

let input = GetObjectInput( bucket: bucket, key: key )
let output = try await client.getObject(input: input)

Possible Solution

No response

Additional Information/Context

No response

AWS SWIFT SDK version used

1.08

Compiler and Version used

Version 16.1 beta 2 (16B5014f)

Operating System and version

iOS 8.1b5

@neal3000 neal3000 added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Sep 29, 2024
@dayaffe
Copy link
Collaborator

dayaffe commented Sep 30, 2024

Hi @neal3000, thanks for submitting this bug issue! We will look into this and let you know what we find.

@sichanyoo sichanyoo removed the needs-triage This issue or PR still needs to be triaged. label Sep 30, 2024
@jbelkins
Copy link
Contributor

Hi @neal3000, we're having trouble reproducing this crash on our own. Can you please:

  • reconfirm that this is still a problem with latest iOS & SDK version, and
  • provide us with the code you are using to create & configure your client?

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

No branches or pull requests

4 participants