Re: LDAP and WeakReferences

2020-01-18 Thread Matt Sicker
I can’t say my knowledge about Ruby is even on the same planet as Sam’s, though this pattern reminds me of comparable issues in the Java realm with ClassLoader leaks in servlets. Sam’s explanation makes sense to me in that analogue. On Sat, Jan 18, 2020 at 16:28 Sam Ruby wrote: > On Sat, Jan 18,

Re: LDAP and WeakReferences

2020-01-18 Thread Sam Ruby
On Sat, Jan 18, 2020 at 4:56 PM sebb wrote: > > On Sat, 18 Jan 2020 at 14:15, Sam Ruby wrote: > > > > On Sat, Jan 18, 2020 at 7:48 AM sebb wrote: > > > > > > On Sat, 18 Jan 2020 at 12:39, Sam Ruby wrote: > > > > > > > > On Fri, Jan 17, 2020 at 5:10 PM sebb wrote: > > > > > > > > > > I'm not su

Re: LDAP and WeakReferences

2020-01-18 Thread sebb
On Sat, 18 Jan 2020 at 14:15, Sam Ruby wrote: > > On Sat, Jan 18, 2020 at 7:48 AM sebb wrote: > > > > On Sat, 18 Jan 2020 at 12:39, Sam Ruby wrote: > > > > > > On Fri, Jan 17, 2020 at 5:10 PM sebb wrote: > > > > > > > > I'm not sure what is the purpose of the weak references when applied > > >

Re: LDAP and WeakReferences

2020-01-18 Thread Sam Ruby
On Sat, Jan 18, 2020 at 7:48 AM sebb wrote: > > On Sat, 18 Jan 2020 at 12:39, Sam Ruby wrote: > > > > On Fri, Jan 17, 2020 at 5:10 PM sebb wrote: > > > > > > I'm not sure what is the purpose of the weak references when applied > > > to instances of the LDAP class. > > > > > > Why does an instanc

Re: LDAP and WeakReferences

2020-01-18 Thread sebb
On Sat, 18 Jan 2020 at 12:39, Sam Ruby wrote: > > On Fri, Jan 17, 2020 at 5:10 PM sebb wrote: > > > > I'm not sure what is the purpose of the weak references when applied > > to instances of the LDAP class. > > > > Why does an instance not use hard references so that they last for the > > life of

Re: LDAP and WeakReferences

2020-01-18 Thread Sam Ruby
On Fri, Jan 17, 2020 at 5:10 PM sebb wrote: > > I'm not sure what is the purpose of the weak references when applied > to instances of the LDAP class. > > Why does an instance not use hard references so that they last for the > life of the instance? Passenger applications like the roster tool, th