A method in a base station for allocating measurement gaps within a Measurement Gap Repetition Period, MGRP, to User Equipments, UEs, currently being served by said base station, the method comprising: - identifying a plurality of possible measurement gaps within said MGRP with regard to their starting point, referred to as gap offset and duration in time within said MGRP, - determining, for each of said identified measurement gaps, a number of Hybrid Automatic Repeat Request, HARQ, processes that would be affected due to said identified measurement gaps with regard to the starting point in time of each of said identified measurement gaps during said MGRP, - ranking said identified measurement gaps depending on the number of HARQ processes which would be affected during said MGRP, and - allocating said identified measurement gaps to said UEs based on said ranking, characterized in that the identified measurement gap affecting the lowest number of HARQ processes is allocated to a UE first, followed by allocating a next identified measurement gap affecting the second lowest number of HARQ processes being allocated next to a further served UE until all served UEs are allocated a measurement gap, wherein scheduling priorities are obtained for said UEs and the UE having the highest scheduling priority is allocated the identified measurement gap affecting the lowest number of HARQ processes and the remaining UEs are allocated measurement gaps in descending order, with regard to scheduling priority, wherein the UE having the lowest scheduling priority is allocated the identified measurement gap affecting the highest number of HARQ processes of the available identified measurement gaps, and wherein a bit corresponding to a gap offset in a bitmap of possible gap offsets is set to "1" for a measurement gap being allocated to a UE, and bits corresponding to vacant measurement gaps are set to "0" in order to update the measurement gap allocation among the UEs. - identifying a plurality of possible measurement gaps within said MGRP with regard to their starting point, referred to as gap offset and duration in time within said MGRP, - determining, for each of said identified measurement gaps, a number of Hybrid Automatic Repeat Request, HARQ, processes that would be affected due to said identified measurement gaps with regard to the starting point in time of each of said identified measurement gaps during said MGRP, - ranking said identified measurement gaps depending on the number of HARQ processes which would be affected during said MGRP, and - allocating said identified measurement gaps to said UEs based on said ranking, characterized in that the identified measurement gap affecting the lowest number of HARQ processes is allocated to a UE first, followed by allocating a next identified measurement gap affecting the second lowest number of HARQ processes being allocated next to a further served UE until all served UEs are allocated a measurement gap, wherein scheduling priorities are obtained for said UEs and the UE having the highest scheduling priority is allocated the identified measurement gap affecting the lowest number of HARQ processes and the remaining UEs are allocated measurement gaps in descending order, with regard to scheduling priority, wherein the UE having the lowest scheduling priority is allocated the identified measurement gap affecting the highest number of HARQ processes of the available identified measurement gaps, and wherein a bit corresponding to a gap offset in a bitmap of possible gap offsets is set to "1" for a measurement gap being allocated to a UE, and bits corresponding to vacant measurement gaps are set to "0" in order to update the measurement gap allocation among the UEs.