You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example 1: Recurse-loop fails on somewhat similar depth.Example 2: Same/similar stack size reported
Actual behavior
Example 1: Job stops on 1215. Local pipeline (step 2) stops/freezes on 9000+Example 2: Job reports 1,5MB. Local pipeline reports 9,5MB stack size.
Error details
No response
Environment data
Name Value
---------
PSVersion 7.2.3
PSEdition Core
GitCommitId 7.2.3
OS Microsoft Windows 10.0.22000
Platform Win32NT
PSCompatibleVersions {1.0,2.0,3.0,4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Prerequisites
Steps to reproduce
Example 1:
Start-Job { function recurse([int]$i) { $i; recurse ($i+1) }; recurse 0 } | Receive-Job -Waitfunction recurse([int]$i) { $i; recurse ($i+1) }; recurse 0Example 2 on Windows:
Run the following block directly in Powershell session and then inside a job
Expected behavior
Actual behavior
Error details
No response
Environment data
Visuals
No response