Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

amit_saini
Honored Contributor III

Error showing Allocated Memory Exceeded...Please Help .!!!!

Hi Folks ,

I'm facing one problem with my application which is running on access point. Please see the attached document by the name Access point Error.docx.  Yestrday it was running fine , but today I'm getting error showing Allocated memory Exceeded.

And when I'm opening my application locally on my server it is directing me to the Qlikview macro page, it looks like something is wrong with the Macro here.

Macro directing page is having code mentioned below:

sub TimeSelect

    set TimeValues = ActiveDocument.Fields("Time").GetPossibleValues

   

    TimeStr = TimeValues.Item(0).Text

   

    Group=ActiveDocument.GetGroups

    set GroupField = Group(0).GetActiveField

   

    if GroupField.Name = "MonthYear" or GroupField.Name = "WeekYear" then

        GroupFieldStr = replace(GroupField.Name, "Year", "")

    else

        GroupFieldStr = GroupField.Name

    end if

   

    if GroupFieldStr <> TimeStr then

        Group(0).Cycle 1

        TimeSelect

    end if   

   

end sub

Any idea how to fix this.??????

Thanks,

1 Reply
Not applicable

Re: Error showing Allocated Memory Exceeded...Please Help .!!!!

Hi amit,

i just go through your script

i think some minor mistakes in your script so please once again check your script may be its work

and this type of error shows to only scripting mistakes.

Regards,

DJ