Skip to content

Conversation

@TIHan
Copy link
Contributor

@TIHan TIHan commented Apr 2, 2019

When a solution becomes unloaded, we should clear F#'s cache. We used to do this, but I believe I removed it a while ago. This fixes an OOM issue where I continually open and close big solutions.

@TIHan TIHan merged commit 2b46085 into dotnet:dev16.1 Apr 3, 2019
TIHan added a commit to TIHan/visualfsharp that referenced this pull request Apr 5, 2019
KevinRansom pushed a commit that referenced this pull request Apr 16, 2019
* Trying to optimize span in for loop

* Added Span_GetItem call

* Almost success with optimization

* Fixed code gen

* Added Span optimization tests

* Added ReadOnlySpan opt

* Cleaning up tests

* Moving tests around

* Trying to figure out span tests

* Trying to fix some tests

* Trying to get some more tests passing

* Fixed range

* Trying to get tests to pass again

* Fixing tests for netcore

* Fix build

* When a solution becomes unloaded, we should clear F#'s cache (#6420)

* Changing if directives

* Simplifying

* Using a type shape for span optimization

* Fixing one test

* Drastically simplified looking at the type shape for Span

* Simplified a bit more

* RunScript has expected error messages

* Add back net472

* Feedback

* Update SpanOptimizationTests.fs

* Update SpanOptimizationTests.fs
nosami pushed a commit to xamarin/visualfsharp that referenced this pull request Jan 26, 2022
nosami pushed a commit to xamarin/visualfsharp that referenced this pull request Jan 26, 2022
* Trying to optimize span in for loop

* Added Span_GetItem call

* Almost success with optimization

* Fixed code gen

* Added Span optimization tests

* Added ReadOnlySpan opt

* Cleaning up tests

* Moving tests around

* Trying to figure out span tests

* Trying to fix some tests

* Trying to get some more tests passing

* Fixed range

* Trying to get tests to pass again

* Fixing tests for netcore

* Fix build

* When a solution becomes unloaded, we should clear F#'s cache (dotnet#6420)

* Changing if directives

* Simplifying

* Using a type shape for span optimization

* Fixing one test

* Drastically simplified looking at the type shape for Span

* Simplified a bit more

* RunScript has expected error messages

* Add back net472

* Feedback

* Update SpanOptimizationTests.fs

* Update SpanOptimizationTests.fs
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

Successfully merging this pull request may close these issues.

2 participants