What are possible reasons for memory consumption going up on stack that isn't doing much?
brian at milby7.com
Mon Jul 9 23:09:48 CEST 2018
Pulling the fullclipboarddata could end up doing a bit of work depending on what is on it. You would probably be better off using the rawclipboarddata to avoid LC doing any processing just so you can detect changes.
Under normal circumstances, the various flavors of content will reflect the same thing. If concerned with style changes, then html may be the best one to check. If you are not, then a plain text variant would be simpler (I.e. shorter) to check.
On Jul 9, 2018, 2:47 PM -0500, Tom Glod via use-livecode , wrote:
> update on this .... the memory consumption is definately to do with one of
> the messages that checks for changes in the clipboard every 333
> milliseconds...... but does not retain what it finds.
> there is nothing else going on the computer and as far as i know the
> clipboard ISN't changing....does the system make changes to the clipboard
> even if ctrl c is not used? ..
> .I use the "fullclipboard" data function to identify a change by comparing
> it to the last known array from the fullcllipboarddata
> is there a faster way of detecting a change in clipboard??????, but have
> full data when i do detect it?
> the fullclipboard data has been a little buggy.....and i have some bug
> reports to make..... but its probably partly me doing it me doing it
> On Mon, Jul 9, 2018 at 11:57 AM, Bob Sneidar via use-livecode <
> use-livecode at lists.runrev.com> wrote:
> > :-)
> > > On Jul 9, 2018, at 08:30 , Tom Glod via use-livecode <
> > use-livecode at lists.runrev.com> wrote:
> > >
> > > Hey Bob....I rarely do anything without waiting 0 milliseconds. :P
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode